mirror of
https://github.com/minetest/minetest.git
synced 2025-01-12 00:07:35 +01:00
Set proper GLSL pixel shader version
This commit is contained in:
parent
f253ff9f1a
commit
c1044b9a4a
@ -792,7 +792,7 @@ ShaderInfo generate_shader(std::string name, u8 material_type, u8 drawtype,
|
|||||||
video::EVST_VS_1_1, // Vertex shader version
|
video::EVST_VS_1_1, // Vertex shader version
|
||||||
pixel_program_ptr, // Pixel shader program
|
pixel_program_ptr, // Pixel shader program
|
||||||
"pixelMain", // Pixel shader entry point
|
"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
|
geometry_program_ptr, // Geometry shader program
|
||||||
"geometryMain", // Geometry shader entry point
|
"geometryMain", // Geometry shader entry point
|
||||||
video::EGST_GS_4_0, // Geometry shader version
|
video::EGST_GS_4_0, // Geometry shader version
|
||||||
|
Loading…
Reference in New Issue
Block a user