index cb568b418977456013691eff26848e0c7fa01265..3b60fe49de14e8865dc2817a39a0ea35b0ae1839 100644 (file)
{$IFDEF USE_SDL2}
SDL2,
{$ENDIF}
{$IFDEF USE_SDL2}
SDL2,
{$ENDIF}
- SysUtils, Classes, Math, e_log, e_texture, g_base,
+ SysUtils, Classes, Math, e_log, r_texture, g_base,
MAPDEF, ImagingTypes, Imaging, ImagingUtility;
type
MAPDEF, ImagingTypes, Imaging, ImagingUtility;
type
e_RBO: GLuint = 0;
e_RBOSupported: Boolean = True;
e_Frame: GLuint = 0;
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;
//function e_getTextGLId (ID: DWORD): GLuint; begin result := e_Textures[ID].tx.id; end;
DestroyFramebuffer;
DestroyFramebuffer;
- e_FrameW := Width;
- e_FrameH := Height;
-
glGetError();
glGenFramebuffers(1, @e_FBO);
glGetError();
glGenFramebuffers(1, @e_FBO);