mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SDL: Don't include png.h when building without libpng
Should make possible to build on AmigaOS 4 where the Image namespace conflicts with a struct from the SDK.
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
#include "graphics/opengl/system_headers.h"
|
||||
#include "graphics/opengl/texture.h"
|
||||
#include "graphics/opengl/tiledsurface.h"
|
||||
#ifdef USE_PNG
|
||||
#include "image/png.h"
|
||||
#endif
|
||||
|
||||
OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window, const Capabilities &capabilities)
|
||||
:
|
||||
|
||||
@@ -31,7 +31,9 @@
|
||||
#include "engines/engine.h"
|
||||
#include "graphics/pixelbuffer.h"
|
||||
#include "graphics/surface.h"
|
||||
#ifdef USE_PNG
|
||||
#include "image/png.h"
|
||||
#endif
|
||||
|
||||
SurfaceSdlGraphicsManager::SurfaceSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window, const Capabilities &capabilities)
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user