mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-02 20:11:15 +00:00
Move shaders version to line 0
This commit is contained in:
parent
1e117abd68
commit
a4207a61d9
@ -70,8 +70,7 @@ Direct3DRMRenderer* OpenGLES3Renderer::Create(DWORD width, DWORD height, DWORD m
|
|||||||
glCullFace(GL_BACK);
|
glCullFace(GL_BACK);
|
||||||
glFrontFace(GL_CW);
|
glFrontFace(GL_CW);
|
||||||
|
|
||||||
const char* vertexShaderSource = R"(
|
const char* vertexShaderSource = R"(#version 300 es
|
||||||
#version 300 es
|
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
in vec3 a_position;
|
in vec3 a_position;
|
||||||
@ -95,8 +94,7 @@ Direct3DRMRenderer* OpenGLES3Renderer::Create(DWORD width, DWORD height, DWORD m
|
|||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
|
|
||||||
const char* fragmentShaderSource = R"(
|
const char* fragmentShaderSource = R"(#version 300 es
|
||||||
#version 300 es
|
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
struct SceneLight {
|
struct SceneLight {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user