mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 16:49:27 +01:00
Fix glDepthRangef crash
This commit is contained in:
1 parent
41b4cf836c
commit
3837eb1065
1 file changed
+4
@@ -128,7 +128,11 @@ public:
|
||||
|
||||
BoolState<GL_DEPTH_TEST, false> depthTest;
|
||||
STATE1(glDepthFunc, GLenum, GL_LESS) depthFunc;
|
||||
#if defined(ANDROID) || defined(BLACKBERRY)
|
||||
STATE2(glDepthRangef, float, float, 0.f, 1.f) depthRange;
|
||||
#else
|
||||
STATE2(glDepthRange, double, double, 0.0, 1.0) depthRange;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef STATE1
|
||||
|
||||
Reference in new issue
Block a user