|
72 | 72 |
|
73 | 73 | #endif // LL_MESA_HEADLESS / LL_SDL_WINDOW // LL_LINUX / LL_WINDOWS / LL_DARWIN |
74 | 74 |
|
75 | | -//GL_NVX_gpu_memory_info constants |
| 75 | +// GL_NVX_gpu_memory_info constants |
76 | 76 | #ifndef GL_NVX_gpu_memory_info |
77 | 77 | #define GL_NVX_gpu_memory_info |
78 | 78 | #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 |
|
82 | 82 | #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B |
83 | 83 | #endif |
84 | 84 |
|
85 | | -//GL_ATI_meminfo constants |
| 85 | +// GL_ATI_meminfo constants |
86 | 86 | #ifndef GL_ATI_meminfo |
87 | 87 | #define GL_ATI_meminfo |
88 | 88 | #define GL_VBO_FREE_MEMORY_ATI 0x87FB |
89 | 89 | #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC |
90 | 90 | #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD |
91 | 91 | #endif |
92 | 92 |
|
93 | | -//GL_EXT_texture_sRGB constants |
| 93 | +// GL_EXT_texture_sRGB constants |
94 | 94 | #ifndef GL_EXT_texture_sRGB |
95 | 95 | #define GL_EXT_texture_sRGB 1 |
96 | 96 | #define GL_SRGB_EXT 0x8C40 |
|
111 | 111 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F |
112 | 112 | #endif /* GL_EXT_texture_sRGB */ |
113 | 113 |
|
| 114 | +// GL_ARB_vertex_buffer_object constants |
| 115 | +#ifndef GL_ARB_vertex_buffer_object |
| 116 | +#define GL_ARB_vertex_buffer_object 1 |
| 117 | +#define GL_STREAM_DRAW_ARB 0x88E0 |
| 118 | +#define GL_STREAM_READ_ARB 0x88E1 |
| 119 | +#define GL_STREAM_COPY_ARB 0x88E2 |
| 120 | +#define GL_STATIC_DRAW_ARB 0x88E4 |
| 121 | +#define GL_STATIC_READ_ARB 0x88E5 |
| 122 | +#define GL_STATIC_COPY_ARB 0x88E6 |
| 123 | +#define GL_DYNAMIC_DRAW_ARB 0x88E8 |
| 124 | +#define GL_DYNAMIC_READ_ARB 0x88E9 |
| 125 | +#define GL_DYNAMIC_COPY_ARB 0x88EA |
| 126 | +#endif |
| 127 | + |
114 | 128 | // Deprecated OpenGL defines we still use |
115 | 129 | #define GL_COLOR_INDEX 0x1900 |
116 | 130 | #define GL_ALPHA 0x1906 |
|
0 commit comments