mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Better error checking in the GL texture backend
This commit is contained in:
@@ -58,8 +58,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
bool createTexture();
|
||||
bool createRenderbuffer();
|
||||
void createTexture();
|
||||
|
||||
void uploadByteData(PixelFormat pixelformat, const void *data, size_t size, int level, int slice, const Rect &r, love::image::ImageDataBase *imgd = nullptr) override;
|
||||
|
||||
@@ -71,6 +70,7 @@ private:
|
||||
GLuint renderbuffer;
|
||||
|
||||
GLenum framebufferStatus;
|
||||
GLenum textureGLError;
|
||||
|
||||
int actualSamples;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user