mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: add function pointer to name object
It could be nice to ease debug
This commit is contained in:
parent
415ce93425
commit
ff3d9bd373
|
@ -119,6 +119,8 @@ PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup = NUL
|
|||
PFNGLPOPDEBUGGROUPPROC glPopDebugGroup = NULL;
|
||||
PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert = NULL;
|
||||
PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl = NULL;
|
||||
PFNGLOBJECTLABELPROC glObjectLabel = NULL;
|
||||
PFNGLOBJECTPTRLABELPROC glObjectPtrLabel = NULL;
|
||||
// GL4.2
|
||||
PFNGLBINDIMAGETEXTUREPROC glBindImageTexture = NULL;
|
||||
PFNGLMEMORYBARRIERPROC glMemoryBarrier = NULL;
|
||||
|
|
|
@ -290,6 +290,8 @@ extern PFNGLINVALIDATETEXIMAGEPROC glInvalidateTexImage;
|
|||
extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup;
|
||||
extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert;
|
||||
extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl;
|
||||
extern PFNGLOBJECTLABELPROC glObjectLabel;
|
||||
extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel;
|
||||
// GL4.4
|
||||
extern PFNGLCLEARTEXIMAGEPROC glClearTexImage;
|
||||
extern PFNGLCLEARTEXSUBIMAGEPROC glClearTexSubImage;
|
||||
|
|
|
@ -129,6 +129,8 @@ void GSWndGL::PopulateGlFunction()
|
|||
GL_EXT_LOAD(glDebugMessageInsert);
|
||||
GL_EXT_LOAD(glDebugMessageControl);
|
||||
GL_EXT_LOAD(glDebugMessageCallback);
|
||||
GL_EXT_LOAD(glObjectLabel);
|
||||
GL_EXT_LOAD(glObjectPtrLabel);
|
||||
// GL4.4
|
||||
GL_EXT_LOAD_OPT(glClearTexImage);
|
||||
GL_EXT_LOAD_OPT(glClearTexSubImage);
|
||||
|
|
Loading…
Reference in New Issue