mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
GLES: Specify glsl version precisely in depal.
Should prevent more of #11588 on vertex shaders, and may help Apple devices some too.
This commit is contained in:
@@ -579,7 +579,7 @@ std::string ApplyGLSLPrelude(const std::string &source, uint32_t stage) {
|
||||
std::string temp;
|
||||
std::string version = "";
|
||||
if (!gl_extensions.IsGLES && gl_extensions.IsCoreContext) {
|
||||
// We need to add a corresponding #version. Apple drives fail without an exact match.
|
||||
// We need to add a corresponding #version. Apple drivers fail without an exact match.
|
||||
version = StringFromFormat("#version %d\n", gl_extensions.GLSLVersion());
|
||||
}
|
||||
if (stage == GL_FRAGMENT_SHADER) {
|
||||
|
||||
Reference in New Issue
Block a user