mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-22 05:40:55 +00:00
Added immutable vertex and index buffers.
This commit is contained in:
parent
d08c0df85d
commit
28d303c5ea
13 changed files with 98 additions and 32 deletions
|
|
@ -45,6 +45,7 @@ void GFXGLEnumTranslate::init()
|
|||
GFXGLBufferType[GFXBufferTypeStatic] = GL_STATIC_DRAW;
|
||||
GFXGLBufferType[GFXBufferTypeDynamic] = GL_DYNAMIC_DRAW;
|
||||
GFXGLBufferType[GFXBufferTypeVolatile] = GL_STREAM_DRAW;
|
||||
GFXGLBufferType[GFXBufferTypeImmutable] = GL_STATIC_DRAW;
|
||||
|
||||
// Primitives
|
||||
GFXGLPrimType[GFXPointList] = GL_POINTS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue