TINYGL: Janitorial

This commit is contained in:
Paweł Kołodziejski 2022-01-01 12:00:38 +01:00
parent 0d6a09c597
commit 25c4e89b7a
8 changed files with 30 additions and 27 deletions

View file

@ -157,7 +157,7 @@ void GLContext::glopTexImage2D(GLParam *p) {
delete im->pixmap;
im->pixmap = nullptr;
}
if (pixels != NULL) {
if (pixels) {
uint filter;
Graphics::PixelFormat pf;
bool found = false;