mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025442: Visualization, TKOpenGl - prevent inclusion of system header glxext.h
Define GLX_GLXEXT_LEGACY in addition to GL_GLEXT_LEGACY to prevent implicit inclusion of header GL/glxext.h by system header GL/glx.h Update glext.t to current state.
This commit is contained in:
@@ -48,18 +48,6 @@
|
||||
#include <GL/glx.h> // glXGetProcAddress()
|
||||
#endif
|
||||
|
||||
// GL_NVX_gpu_memory_info
|
||||
#ifndef GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX
|
||||
enum
|
||||
{
|
||||
GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = 0x9047,
|
||||
GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = 0x9048,
|
||||
GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX = 0x9049,
|
||||
GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX = 0x904A,
|
||||
GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX = 0x904B
|
||||
};
|
||||
#endif
|
||||
|
||||
IMPLEMENT_STANDARD_HANDLE (OpenGl_Context, Standard_Transient)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(OpenGl_Context, Standard_Transient)
|
||||
|
||||
|
Reference in New Issue
Block a user