mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
use attrib pointers in nativeVertexFormat
This commit is contained in:
parent
2f78986e2c
commit
ff889c0e65
7 changed files with 51 additions and 41 deletions
|
@ -528,11 +528,11 @@ TextureCache::TextureCache()
|
|||
const char *VProgram =
|
||||
"#version 130\n"
|
||||
"in vec2 rawpos;\n"
|
||||
"in vec2 texture0;\n"
|
||||
"in vec2 tex0;\n"
|
||||
"out vec2 uv0;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" uv0 = texture0;\n"
|
||||
" uv0 = tex0;\n"
|
||||
" gl_Position = vec4(rawpos,0,1);\n"
|
||||
"}\n";
|
||||
if (!VertexShaderCache::CompileVertexShader(s_vProgram, VProgram))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue