aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-02-11 07:22:15 +0100
committerKahrl <kahrl@gmx.net>2016-02-11 09:47:25 +0100
commitc1044b9a4a2eb45a0b71566bee59e5961708bebf (patch)
tree06e5a3aa7e8fc2fce003fc4e0c4e172d58d30e83 /src
parentf253ff9f1ab246c67ee5d3fb520c584b384ee708 (diff)
downloadminetest-c1044b9a4a2eb45a0b71566bee59e5961708bebf.tar.gz
minetest-c1044b9a4a2eb45a0b71566bee59e5961708bebf.tar.bz2
minetest-c1044b9a4a2eb45a0b71566bee59e5961708bebf.zip
Set proper GLSL pixel shader version
Diffstat (limited to 'src')
-rw-r--r--src/shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader.cpp b/src/shader.cpp
index 1d990eafe..ed6585bd6 100644
--- a/src/shader.cpp
+++ b/src/shader.cpp
@@ -792,7 +792,7 @@ ShaderInfo generate_shader(std::string name, u8 material_type, u8 drawtype,
video::EVST_VS_1_1, // Vertex shader version
pixel_program_ptr, // Pixel shader program
"pixelMain", // Pixel shader entry point
- video::EPST_PS_1_1, // Pixel shader version
+ video::EPST_PS_1_2, // Pixel shader version
geometry_program_ptr, // Geometry shader program
"geometryMain", // Geometry shader entry point
video::EGST_GS_4_0, // Geometry shader version