mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-04 20:06:51 +00:00
Fix glDepthRangef crash
This commit is contained in:
parent
41b4cf836c
commit
3837eb1065
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user