From 2ed2ca46810759a42997822bdbe456dd8f47d602 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Sun, 13 Aug 2023 22:24:09 +0200 Subject: [PATCH] Fix #44: enable GL_SELECT fix Whops, the render_mode variable was hardcoded for testing so the workaround did not take place at all. --- src/sardrawrunway.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sardrawrunway.c b/src/sardrawrunway.c index f5fbf90..50fe561 100644 --- a/src/sardrawrunway.c +++ b/src/sardrawrunway.c @@ -108,7 +108,6 @@ void SARDrawRunway( */ GLint render_mode; glGetIntegerv(GL_RENDER_MODE, &render_mode); - render_mode = GL_RENDER; /* Get runway background texture */ if(SARIsTextureAllocated(scene, tex_num))