linux compile fixes

This commit is contained in:
baldurk
2014-11-14 14:16:05 +00:00
parent ecbd919d05
commit ac89399c60
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -29,10 +29,12 @@
extern char CONCAT( CONCAT(_binary_, filename) , _end) ;
DECLARE_EMBED(debuguniforms_h);
DECLARE_EMBED(texsample_h);
DECLARE_EMBED(blit_vert);
DECLARE_EMBED(blit_frag);
DECLARE_EMBED(texdisplay_frag);
DECLARE_EMBED(checkerboard_frag);
DECLARE_EMBED(histogram_comp);
DECLARE_EMBED(mesh_vert);
DECLARE_EMBED(generic_vert);
DECLARE_EMBED(generic_frag);
+4
View File
@@ -416,6 +416,8 @@ GLenum TextureBinding(GLenum target)
return eGL_TEXTURE_BINDING_CUBE_MAP_ARRAY;
case eGL_TEXTURE_BUFFER:
return eGL_TEXTURE_BINDING_BUFFER;
default:
break;
}
RDCERR("Unexpected target %x", target);
@@ -437,6 +439,8 @@ bool IsProxyTarget(GLenum target)
case eGL_PROXY_TEXTURE_CUBE_MAP:
case eGL_PROXY_TEXTURE_CUBE_MAP_ARRAY:
return true;
default:
break;
}
return false;
@@ -2006,6 +2006,7 @@ bool WrappedOpenGL::Serialise_glVertexAttrib(GLuint index, int count, GLenum typ
case Attrib_GLushort:
elemSize = 2;
break;
default:
case Attrib_GLbyte:
case Attrib_GLubyte:
elemSize = 1;