mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
add #version to the framebuffer drawing shader for compat
This commit is contained in:
1 parent
4bf2e52623
commit
9db065a979
1 file changed
+5
-2
@@ -37,14 +37,17 @@ const char tex_fs[] =
|
||||
"}\n";
|
||||
|
||||
const char basic_vs[] =
|
||||
#ifndef USING_GLES2
|
||||
"#version 120\n"
|
||||
#endif
|
||||
"attribute vec4 a_position;\n"
|
||||
"attribute vec2 a_texcoord0;\n"
|
||||
"uniform mat4 u_viewproj;\n"
|
||||
"varying vec4 v_color;\n"
|
||||
"varying vec2 v_texcoord0;\n"
|
||||
"void main() {\n"
|
||||
" v_texcoord0 = a_texcoord0;\n"
|
||||
" gl_Position = u_viewproj * a_position;\n"
|
||||
" v_texcoord0 = a_texcoord0;\n"
|
||||
" gl_Position = u_viewproj * a_position;\n"
|
||||
"}\n";
|
||||
|
||||
FramebufferManager::FramebufferManager() {
|
||||
|
||||
Reference in new issue
Block a user