From 3dbf5028eec53f661a018ddbd969bd26aa7748b5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 3 Mar 2021 00:20:21 +0000 Subject: Create and use a shader program for things with absolute position Rails in this case. --- gfx/gl/shader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gfx/gl/shader.cpp') diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp index 3021257..b97d6fc 100644 --- a/gfx/gl/shader.cpp +++ b/gfx/gl/shader.cpp @@ -45,6 +45,10 @@ Shader::Shader() : { landmassShader_vs.compile(), landmassShader_fs.compile(), + }, + { + landmassShader_vs.compile(), + basicShader_fs.compile(), }}} { } -- cgit v1.2.3