From: DeaDDooMER Date: Wed, 9 Jun 2021 14:46:38 +0000 (+0300) Subject: render: fix unused variable warnings X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=1f8100acd63d597420f56d3796e81f5268f49de5;p=d2df-sdl.git render: fix unused variable warnings --- 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);