improve Linux OpenGL 3.x context creation handling, don't crash if the shadowmap shader fails
add cursor-key support for Linux
This commit is contained in:
@@ -5,6 +5,6 @@ static const char* createShadowMapInstancingFragmentShader= \
|
||||
"layout(location = 0) out float fragmentdepth;\n"
|
||||
"void main(void)\n"
|
||||
"{\n"
|
||||
" fragmentdepth = gl_FragCoord.z;\n"
|
||||
" fragmentdepth = gl_FragCoord.z+0.0001*gl_FragCoord.x;\n"
|
||||
"}\n"
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user