diff --git a/src/projectM-engine/pbuffer.h b/src/projectM-engine/pbuffer.h index f1f4a2882..7c97ce4ac 100755 --- a/src/projectM-engine/pbuffer.h +++ b/src/projectM-engine/pbuffer.h @@ -28,11 +28,11 @@ #ifndef _RENDERTARGET_H #define _RENDERTARGET_H -#ifdef FBO +#ifdef USE_FBO #include #endif -#if defined(MACOS) && !defined(FBO) +#if defined(MACOS) && !defined(USE_FBO) #include #endif /** MACOS */ @@ -65,21 +65,19 @@ typedef struct RENDERTARGET { /** Application context */ ContextType origContextType; - int usePbuffers; - - + int usePbuffers; /** Opaque pbuffer context and pbuffer */ #ifdef MACOS - void *origContext; + void *origContext; void *pbufferContext; void *pbuffer; #endif /** Render target texture ID for non-pbuffer systems */ GLuint textureID[2]; - GLuint fbuffer[1]; - GLuint depthb[1]; + GLuint fbuffer[1]; + GLuint depthb[1]; } RenderTarget; extern void createPBuffers( int width, int height, RenderTarget *target );