OpenGL Renderer: Fix compiling for non-Cocoa ports. (Regression from commit c9db815.)
This commit is contained in:
parent
c9db815171
commit
d63ae63d1b
|
@ -274,6 +274,11 @@ EXTERNOGLEXT(PFNGLGETACTIVEUNIFORMBLOCKIVPROC, glGetActiveUniformBlockiv) // Cor
|
|||
// TBO
|
||||
EXTERNOGLEXT(PFNGLTEXBUFFERPROC, glTexBuffer) // Core in v3.1
|
||||
|
||||
// Sync Objects
|
||||
EXTERNOGLEXT(PFNGLFENCESYNCPROC, glFenceSync) // Core in v3.2
|
||||
EXTERNOGLEXT(PFNGLWAITSYNCPROC, glWaitSync) // Core in v3.2
|
||||
EXTERNOGLEXT(PFNGLDELETESYNCPROC, glDeleteSync) // Core in v3.2
|
||||
|
||||
#endif // OGLRENDER_3_2_H
|
||||
|
||||
// Define the minimum required OpenGL version for the driver to support
|
||||
|
|
|
@ -67,6 +67,11 @@ OGLEXT(PFNGLGETACTIVEUNIFORMBLOCKIVPROC, glGetActiveUniformBlockiv) // Core in v
|
|||
// TBO
|
||||
OGLEXT(PFNGLTEXBUFFERPROC, glTexBuffer) // Core in v3.1
|
||||
|
||||
// Sync Objects
|
||||
OGLEXT(PFNGLFENCESYNCPROC, glFenceSync) // Core in v3.2
|
||||
OGLEXT(PFNGLWAITSYNCPROC, glWaitSync) // Core in v3.2
|
||||
OGLEXT(PFNGLDELETESYNCPROC, glDeleteSync) // Core in v3.2
|
||||
|
||||
void OGLLoadEntryPoints_3_2()
|
||||
{
|
||||
// Basic Functions
|
||||
|
@ -103,6 +108,11 @@ void OGLLoadEntryPoints_3_2()
|
|||
|
||||
// TBO
|
||||
INITOGLEXT(PFNGLTEXBUFFERPROC, glTexBuffer)
|
||||
|
||||
// Sync Objects
|
||||
INITOGLEXT(PFNGLFENCESYNCPROC, glFenceSync) // Core in v3.2
|
||||
INITOGLEXT(PFNGLWAITSYNCPROC, glWaitSync) // Core in v3.2
|
||||
INITOGLEXT(PFNGLDELETESYNCPROC, glDeleteSync) // Core in v3.2
|
||||
}
|
||||
|
||||
// Vertex shader for geometry, GLSL 1.50
|
||||
|
|
Loading…
Reference in New Issue