X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_graphics.pas;h=3b60fe49de14e8865dc2817a39a0ea35b0ae1839;hp=d82ad0e513860308eb24bcca3af525f13fd18fd7;hb=1f8100acd63d597420f56d3796e81f5268f49de5;hpb=01ca3b4324c78f00caae7d5b16cd49efce31f831 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);