GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ca3b4
)
render: fix unused variable warnings
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 9 Jun 2021 14:46:38 +0000
(17:46 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Tue, 29 Jun 2021 09:51:11 +0000
(12:51 +0300)
src/game/opengl/r_graphics.pas
patch
|
blob
|
history
diff --git
a/src/game/opengl/r_graphics.pas
b/src/game/opengl/r_graphics.pas
index d82ad0e513860308eb24bcca3af525f13fd18fd7..3b60fe49de14e8865dc2817a39a0ea35b0ae1839 100644
(file)
--- 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);
DEADSOFTWARE 2012-2025