Fix GLES version header on picky drivers
This commit is contained in:
parent
1fbda5518e
commit
fa0919915c
|
@ -14,8 +14,7 @@
|
||||||
namespace OpenGL {
|
namespace OpenGL {
|
||||||
|
|
||||||
GLuint LoadShader(const char* source, GLenum type) {
|
GLuint LoadShader(const char* source, GLenum type) {
|
||||||
const std::string version = GLES ? R"(
|
const std::string version = GLES ? R"(#version 310 es
|
||||||
#version 310 es
|
|
||||||
|
|
||||||
#define CITRA_GLES
|
#define CITRA_GLES
|
||||||
|
|
||||||
|
|
Reference in New Issue