From ffbd3925befaa332a647c098930e153dbed56440 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Wed, 9 Jun 2021 17:46:38 +0300 Subject: [PATCH] render: fix unused variable warnings --- src/game/opengl/r_graphics.pas | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/game/opengl/r_graphics.pas b/src/game/opengl/r_graphics.pas index d82ad0e..3b60fe4 100644 --- a/src/game/opengl/r_graphics.pas +++ b/src/game/opengl/r_graphics.pas @@ -166,8 +166,6 @@ var e_RBO: GLuint = 0; e_RBOSupported: Boolean = True; e_Frame: GLuint = 0; - e_FrameW: Integer = -1; - e_FrameH: Integer = -1; //function e_getTextGLId (ID: DWORD): GLuint; begin result := e_Textures[ID].tx.id; end; @@ -376,9 +374,6 @@ begin DestroyFramebuffer; - e_FrameW := Width; - e_FrameH := Height; - glGetError(); glGenFramebuffers(1, @e_FBO); -- 2.29.2