mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-04 16:05:28 +00:00
Renamed FBO to USE_FBO
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@169 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -28,11 +28,11 @@
|
||||
#ifndef _RENDERTARGET_H
|
||||
#define _RENDERTARGET_H
|
||||
|
||||
#ifdef FBO
|
||||
#ifdef USE_FBO
|
||||
#include <GL/glew.h>
|
||||
#endif
|
||||
|
||||
#if defined(MACOS) && !defined(FBO)
|
||||
#if defined(MACOS) && !defined(USE_FBO)
|
||||
#include <gl.h>
|
||||
#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 );
|
||||
|
||||
Reference in New Issue
Block a user