code formatting for the glDebugInsert commit

This commit is contained in:
Remi Palandri
2018-05-31 09:44:48 +01:00
committed by Baldur Karlsson
parent 83ba2e95e7
commit 6768cd96ee
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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,