diff options
author | Kenneth Russel <[email protected]> | 2005-05-20 19:21:02 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-20 19:21:02 +0000 |
commit | bea9f9567ca5892813b308bf92eab96166248afe (patch) | |
tree | da37b659a3dc5028ac54f4a1852d3aae52d6b118 /make | |
parent | a6655b13e61b28e5e2c38c7b53c6d26db93b0cbb (diff) |
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
Diffstat (limited to 'make')
-rw-r--r-- | make/cgl-macosx.cfg | 2 | ||||
-rw-r--r-- | make/stub_includes/macosx/window-system.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); |