Changed: Minor changes

This commit is contained in:
kervala 2012-10-27 16:39:06 +02:00
parent 592a319f4c
commit be320bdd97
2 changed files with 10 additions and 8 deletions

View file

@ -55,12 +55,12 @@ struct CGlExtensions
bool NVTextureEnvCombine4; bool NVTextureEnvCombine4;
bool ARBTextureCubeMap; bool ARBTextureCubeMap;
bool NVVertexProgram; bool NVVertexProgram;
bool EXTVertexShader; bool EXTVertexShader;
bool NVTextureShader; bool NVTextureShader;
bool NVOcclusionQuery; bool NVOcclusionQuery;
bool NVTextureRectangle; bool NVTextureRectangle;
bool EXTTextureRectangle; bool EXTTextureRectangle;
bool ARBTextureRectangle; bool ARBTextureRectangle;
bool FrameBufferObject; bool FrameBufferObject;
bool FrameBufferBlit; bool FrameBufferBlit;
bool FrameBufferMultisample; bool FrameBufferMultisample;
@ -89,10 +89,10 @@ struct CGlExtensions
// ATI Extensions. // ATI Extensions.
bool ATIVertexArrayObject; bool ATIVertexArrayObject;
bool ATIMapObjectBuffer; bool ATIMapObjectBuffer;
bool ATITextureEnvCombine3; bool ATITextureEnvCombine3;
bool ATIEnvMapBumpMap; bool ATIEnvMapBumpMap;
bool ATIFragmentShader; bool ATIFragmentShader;
bool ATIXTextureEnvRoute; bool ATIXTextureEnvRoute;
bool ATIVertexAttribArrayObject; bool ATIVertexAttribArrayObject;
// ARB Extensions // ARB Extensions
@ -781,3 +781,4 @@ extern NEL_PFNGLSAMPLECOVERAGEARBPROC nglSampleCoverageARB;
#endif // USE_OPENGLES #endif // USE_OPENGLES
#endif // NL_OPENGL_EXTENSION_H #endif // NL_OPENGL_EXTENSION_H

View file

@ -1542,7 +1542,7 @@ void CVertexBufferHardARB::unlock()
#ifdef NL_DEBUG #ifdef NL_DEBUG
_Unmapping = true; _Unmapping = true;
#endif #endif
GLboolean unmapOk = false; GLboolean unmapOk = GL_FALSE;
#ifdef USE_OPENGLES #ifdef USE_OPENGLES
if (_Driver->_Extensions.OESMapBuffer) if (_Driver->_Extensions.OESMapBuffer)
@ -1671,3 +1671,4 @@ void CVertexBufferHardARB::invalidate()
#endif #endif
} // NL3D } // NL3D