+static unsigned int sdr;
+
+static const char *vs_src =
+ "void main()\n"
+ "{\n"
+ " gl_Position = ftransform();\n"
+ " gl_TexCoord[0] = gl_MultiTexCoord0;\n"
+ "}\n";
+
+static const char *ps_src =
+ "uniform sampler2D tex;\n"
+ "uniform float inv_gamma;\n"
+ "\n"
+ "void main()\n"
+ "{\n"
+ " vec4 texel = texture2D(tex, gl_TexCoord[0].st);\n"
+ " gl_FragColor.rgb = pow(texel.xyz / texel.w, vec3(inv_gamma));\n"
+ " gl_FragColor.a = 1.0;\n"
+ "}\n";
+