summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1170681)
raw | patch | inline | side by side (parent: 1170681)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 9 Jun 2021 14:46:38 +0000 (17:46 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 07:45:23 +0000 (10:45 +0300) |
src/game/opengl/r_graphics.pas | patch | blob | history |
index d82ad0e513860308eb24bcca3af525f13fd18fd7..3b60fe49de14e8865dc2817a39a0ea35b0ae1839 100644 (file)
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;
DestroyFramebuffer;
- e_FrameW := Width;
- e_FrameH := Height;
-
glGetError();
glGenFramebuffers(1, @e_FBO);