mirror of https://github.com/PCSX2/pcsx2.git
gsdx-debug: Dump in PNG on linux & dbg/dev build
Keep BMP for standard user of release build
This commit is contained in:
parent
3c7a3a3d83
commit
390811f414
|
@ -38,12 +38,6 @@
|
||||||
|
|
||||||
//#define DISABLE_DATE
|
//#define DISABLE_DATE
|
||||||
|
|
||||||
// Allow to dump texture as PNG (require libpng++). It reduces the size of the dump
|
|
||||||
// and alpha is well supported (on linux)
|
|
||||||
//#define ENABLE_OGL_PNG
|
|
||||||
// The next two define allows to dump texture without alpha or only the alpha channel.
|
|
||||||
//#define ENABLE_OGL_PNG_OPAQUE
|
|
||||||
//#define ENABLE_OGL_PNG_ALPHA
|
|
||||||
|
|
||||||
#if defined(_DEBUG) || defined(_DEVEL)
|
#if defined(_DEBUG) || defined(_DEVEL)
|
||||||
#define ENABLE_OGL_DEBUG // Create a debug context and check opengl command status. Allow also to dump various textures/states.
|
#define ENABLE_OGL_DEBUG // Create a debug context and check opengl command status. Allow also to dump various textures/states.
|
||||||
|
@ -54,3 +48,12 @@
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
//#define ENABLE_OPENCL
|
//#define ENABLE_OPENCL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(ENABLE_OGL_DEBUG) && defined(__linux__)
|
||||||
|
// Allow to dump texture as PNG (require libpng++). It reduces the size of the dump
|
||||||
|
// and alpha is well supported (on linux)
|
||||||
|
#define ENABLE_OGL_PNG
|
||||||
|
// The next two define allows to dump texture without alpha or only the alpha channel.
|
||||||
|
#define ENABLE_OGL_PNG_OPAQUE
|
||||||
|
#define ENABLE_OGL_PNG_ALPHA
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue