Permalink
Browse files

video: Test Nexus 6p fix

  • Loading branch information...
fzurita committed Mar 7, 2016
1 parent 861b86b commit db87ffdf77a1029e0437cfd7ffaf3e507c33cba2
Showing with 12 additions and 0 deletions.
  1. +12 −0 jni/mupen64plus-video-gliden64/src/OGL3X/Shaders_ogl3x.h
@@ -144,6 +144,12 @@ MAIN_SHADER_VERSION
static const char* fragment_shader_header_common_variables =
MAIN_SHADER_VERSION
+"#ifdef GL_NV_fragdepth \n"
+" #extension GL_NV_fragdepth : enable \n"
+"#endif \n"
+"#ifdef GL_OES_standard_derivatives \n"
+" #extension GL_OES_standard_derivatives : enable \n"
+"#endif \n"
"uniform sampler2D uTex0; \n"
"uniform sampler2D uTex1; \n"
#ifdef GL_MULTISAMPLING_SUPPORT
@@ -187,6 +193,12 @@ MAIN_SHADER_VERSION
static const char* fragment_shader_header_common_variables_notex =
MAIN_SHADER_VERSION
+"#ifdef GL_NV_fragdepth \n"
+" #extension GL_NV_fragdepth : enable \n"
+"#endif \n"
+"#ifdef GL_OES_standard_derivatives \n"
+" #extension GL_OES_standard_derivatives : enable \n"
+"#endif \n"
"layout (std140) uniform ColorsBlock {\n"
" lowp vec4 uFogColor; \n"
" lowp vec4 uCenterColor; \n"

0 comments on commit db87ffd

Please sign in to comment.