Skip to content

Commit

Permalink
removed wierd 1+ from code
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Oct 10, 2021
1 parent c99b2a6 commit c324e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example_OpenGL/Screen_Capture_Example_OpenGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void AttachShader(GLuint program, GLenum type, const char *src)
glDeleteShader(shader);
}

const char *vert = 1 + R"GLSL(
const char *vert = R"GLSL(
#version 330 core
layout(location = 0) in vec3 aPos;
layout(location = 1) in vec3 aColor;
Expand All @@ -40,7 +40,7 @@ void main() {
}
)GLSL";

const char *frag = 1 + R"GLSL(
const char *frag = R"GLSL(
#version 330 core
out vec4 FragColor;
in vec3 ourColor;
Expand Down

0 comments on commit c324e50

Please sign in to comment.