From bea9f9567ca5892813b308bf92eab96166248afe Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 20 May 2005 19:21:02 +0000 Subject: Added first-cut support for floating-point pbuffers on Mac OS X (untested) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@276 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/cgl-macosx.cfg | 2 +- make/stub_includes/macosx/window-system.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'make') diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index e4fad5a5f..ac91c252c 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -39,7 +39,7 @@ CustomCCode extern void updateContext(void* nsContext, void* nsView); CustomCCode extern void* updateContextRegister(void* nsContext, void* nsView); CustomCCode extern void updateContextUnregister(void* nsContext, void* nsView, void* updater); -CustomCCode extern void* createPBuffer(int renderTarget, int width, int height); +CustomCCode extern void* createPBuffer(int renderTarget, int internalFormat, int width, int height); CustomCCode extern Bool destroyPBuffer(void* nsContext, void* pBuffer); CustomCCode extern void setContextPBuffer(void* nsContext, void* pBuffer); CustomCCode extern void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index 8ce6120a3..d15406263 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -27,7 +27,7 @@ void updateContext(void* nsContext, void* nsView); void* updateContextRegister(void* nsContext, void* nsView); void updateContextUnregister(void* nsContext, void* nsView, void* updater); -void* createPBuffer(int renderTarget, int width, int height); +void* createPBuffer(int renderTarget, int internalFormat, int width, int height); Bool destroyPBuffer(void* nsContext, void* pBuffer); void setContextPBuffer(void* nsContext, void* pBuffer); void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); -- cgit v1.2.3