mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-01 12:20:56 +00:00
code formatting for the glDebugInsert commit
This commit is contained in:
committed by
Baldur Karlsson
parent
83ba2e95e7
commit
6768cd96ee
@@ -615,7 +615,7 @@ public:
|
||||
void SwapBuffers(void *windowHandle);
|
||||
void CreateVRAPITextureSwapChain(GLuint tex, GLenum textureType, GLenum internalformat,
|
||||
GLsizei width, GLsizei height, GLint levels);
|
||||
void HandleVRFrameMarkers(const GLchar *buf,GLsizei length);
|
||||
void HandleVRFrameMarkers(const GLchar *buf, GLsizei length);
|
||||
|
||||
void FirstFrame(void *ctx, void *wndHandle);
|
||||
|
||||
|
||||
@@ -193,12 +193,12 @@ bool WrappedOpenGL::Serialise_glDebugMessageInsert(SerialiserType &ser, GLenum s
|
||||
|
||||
void WrappedOpenGL::HandleVRFrameMarkers(const GLchar *buf, GLsizei length)
|
||||
{
|
||||
if (strstr(buf, "vr-marker,frame_end,type,application") != NULL)
|
||||
{
|
||||
void *ctx = NULL, *wnd = NULL;
|
||||
RenderDoc::Inst().GetActiveWindow(ctx, wnd);
|
||||
SwapBuffers(wnd);
|
||||
}
|
||||
if(strstr(buf, "vr-marker,frame_end,type,application") != NULL)
|
||||
{
|
||||
void *ctx = NULL, *wnd = NULL;
|
||||
RenderDoc::Inst().GetActiveWindow(ctx, wnd);
|
||||
SwapBuffers(wnd);
|
||||
}
|
||||
}
|
||||
|
||||
void WrappedOpenGL::glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity,
|
||||
|
||||
Reference in New Issue
Block a user