forked from 0ad/0ad
47 lines
1.8 KiB
C
Executable File
47 lines
1.8 KiB
C
Executable File
// were these defined as real functions in gl.h already?
|
|
|
|
#ifndef REAL_GL_1_2
|
|
FUNC(void, glMultiTexCoord2f, (int, float, float))
|
|
#endif
|
|
|
|
#ifndef REAL_GL_1_3
|
|
FUNC(void, glActiveTexture, (int))
|
|
FUNC(void, glClientActiveTexture, (int))
|
|
#endif
|
|
|
|
// EXT_swap_control
|
|
FUNC(int, wglSwapIntervalEXT, (int))
|
|
|
|
// NV_vertex_array
|
|
FUNC(void, glVertexArrayRangeNV, (int, void*))
|
|
FUNC(void, glFlushVertexArrayRangeNV, ())
|
|
FUNC(void*, wglAllocateMemoryNV, (int, float, float, float))
|
|
FUNC(void, wglFreeMemoryNV, (void*))
|
|
|
|
// NV_fence
|
|
FUNC(void, glGenFencesNV, (int, unsigned int*))
|
|
FUNC(void, glDeleteFencesNV, (int, const unsigned int*))
|
|
FUNC(void, glSetFenceNV, (unsigned int, int))
|
|
FUNC(int, glTestFenceNV, (unsigned int))
|
|
FUNC(void, glFinishFenceNV, (unsigned int))
|
|
FUNC(int, glIsFenceNV, (unsigned int))
|
|
FUNC(void, glGetFenceivNV, (unsigned int, int, int*))
|
|
|
|
// ARB_vertex_array_object
|
|
FUNC(void, glBindBufferARB, (int target, GLuint buffer))
|
|
FUNC(void, glDeleteBuffersARB, (GLsizei n, const GLuint* buffers))
|
|
FUNC(void, glGenBuffersARB, (GLsizei n, GLuint* buffers))
|
|
FUNC(bool, glIsBufferARB, (GLuint buffer))
|
|
FUNC(void, glBufferDataARB, (int target, GLsizeiptrARB size, const void* data, int usage))
|
|
FUNC(void, glBufferSubDataARB, (int target, GLintptrARB offset, GLsizeiptrARB size, const void* data))
|
|
FUNC(void, glGetBufferSubDataARB, (int target, GLintptrARB offset, GLsizeiptrARB size, void* data))
|
|
FUNC(void*, glMapBufferARB, (int target, int access))
|
|
FUNC(bool, glUnmapBufferARB, (int target))
|
|
FUNC(void, glGetBufferParameterivARB, (int target, int pname, int* params))
|
|
FUNC(void, glGetBufferPointervARB, (int target, int pname, void** params))
|
|
|
|
|
|
|
|
FUNC(void, glCompressedTexImage2DARB, (int, int, int, unsigned int, unsigned int, int, unsigned int, const void*))
|
|
FUNC(void, glCompressedTexSubImage2DARB, (int, int, int, int, unsigned int, int, int, unsigned int, const void*))
|