Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/opengl/kis_opengl_shader_loader.cpp
Context not available. | |||||
97 | "#version 300 es\n" | 97 | "#version 300 es\n" | ||
---|---|---|---|---|---|
98 | "precision mediump float;\n" | 98 | "precision mediump float;\n" | ||
99 | "precision mediump sampler3D;\n"); | 99 | "precision mediump sampler3D;\n"); | ||
100 | | ||||
101 | // OpenColorIO doesn't support the new GLSL version yet. | ||||
102 | fragSource.append("#define texture2D texture\n"); | ||||
103 | fragSource.append("#define texture3D texture\n"); | ||||
100 | } else { | 104 | } else { | ||
101 | fragSource.append(KisOpenGL::supportsLoD() ? "#version 130\n" : "#version 120\n"); | 105 | fragSource.append(KisOpenGL::supportsLoD() ? "#version 130\n" : "#version 120\n"); | ||
102 | } | 106 | } | ||
Context not available. |