Fix binary compatibility issue caused by 310ada8

Move the new multi-view chunk types to the end of GLChunkType enum.
This commit is contained in:
Janos Pantos
2017-07-28 19:13:06 +02:00
committed by Baldur Karlsson
parent fec5b60c67
commit 7d46b21fd6
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -668,8 +668,6 @@ enum GLChunkType
FRAMEBUFFER_TEX3D,
FRAMEBUFFER_RENDBUF,
FRAMEBUFFER_TEXLAYER,
FRAMEBUFFER_MULTIVIEW,
FRAMEBUFFER_MULTIVIEWMS,
FRAMEBUFFER_PARAM,
READ_BUFFER,
BIND_FRAMEBUFFER,
@@ -743,5 +741,8 @@ enum GLChunkType
FRAMEBUFFER_TEX2DMS,
FRAMEBUFFER_MULTIVIEW,
FRAMEBUFFER_MULTIVIEWMS,
NUM_OPENGL_CHUNKS,
};
+3 -2
View File
@@ -252,8 +252,6 @@ const char *GLChunkNames[] = {
"glFramebufferTexture3D",
"glFramebufferRenderbuffer",
"glFramebufferTextureLayer",
"glFramebufferTextureMultiviewOVR",
"glFramebufferTextureMultisampleMultiviewOVR",
"glFramebufferParameteri",
"glReadBuffer",
"glBindFramebuffer",
@@ -326,6 +324,9 @@ const char *GLChunkNames[] = {
"glPrimitiveBoundingBox",
"glFramebufferTexture2DMultisample",
"glFramebufferTextureMultiviewOVR",
"glFramebufferTextureMultisampleMultiviewOVR",
};
GLInitParams::GLInitParams()