Update
This commit is contained in:
parent
a830f66c41
commit
57df81e425
@ -1,7 +1,4 @@
|
|||||||
project(gles-compatibility-layer)
|
project(gles-compatibility-layer)
|
||||||
|
|
||||||
# GLES Compatibility Layer
|
# GLES Compatibility Layer
|
||||||
set(GLES_COMPATIBILITY_LAYER_USE_ES3 FALSE CACHE BOOL "" FORCE)
|
|
||||||
set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE CACHE BOOL "" FORCE)
|
|
||||||
set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw CACHE STRING "" FORCE)
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
2
dependencies/gles-compatibility-layer/src
vendored
2
dependencies/gles-compatibility-layer/src
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 3ee682f6f26dd4344f0701ae346d10250c040d8e
|
Subproject commit 539774351723333d1248f8ab8461e07ffd1e06e3
|
@ -546,8 +546,7 @@ static int get_glGetFloatv_params_size(GLenum pname) {
|
|||||||
case GL_PROJECTION_MATRIX: {
|
case GL_PROJECTION_MATRIX: {
|
||||||
return 16;
|
return 16;
|
||||||
}
|
}
|
||||||
case GL_ALIASED_LINE_WIDTH_RANGE:
|
case GL_ALIASED_LINE_WIDTH_RANGE: {
|
||||||
case GL_SMOOTH_LINE_WIDTH_RANGE: {
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
@ -660,17 +659,11 @@ CALL(56, glViewport, void, (GLint x, GLint y, GLsizei width, GLsizei height))
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
CALL(57, glNormal3f, void, (GLfloat nx, GLfloat ny, GLfloat nz))
|
|
||||||
#ifdef MEDIA_LAYER_TRAMPOLINE_GUEST
|
#ifdef MEDIA_LAYER_TRAMPOLINE_GUEST
|
||||||
trampoline(true, nx, ny, nz);
|
void glNormal3f(__attribute__((unused)) GLfloat nx, __attribute__((unused)) GLfloat ny, __attribute__((unused)) GLfloat nz) {
|
||||||
#else
|
// Do Nothing
|
||||||
GLfloat nx = args.next<GLfloat>();
|
|
||||||
GLfloat ny = args.next<GLfloat>();
|
|
||||||
GLfloat nz = args.next<GLfloat>();
|
|
||||||
func(nx, ny, nz);
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CALL(58, glIsEnabled, GLboolean, (GLenum cap))
|
CALL(58, glIsEnabled, GLboolean, (GLenum cap))
|
||||||
#ifdef MEDIA_LAYER_TRAMPOLINE_GUEST
|
#ifdef MEDIA_LAYER_TRAMPOLINE_GUEST
|
||||||
|
Loading…
Reference in New Issue
Block a user