diff options
author | Kenneth Russel <[email protected]> | 2004-04-29 21:50:38 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-29 21:50:38 +0000 |
commit | be5d9ba85bad4cf845778d1bdcc4361d864a4604 (patch) | |
tree | bc0d0083211eff4c12a745eb48ec7efc8d31020f /make | |
parent | 595577662881914de98204d0ef43e329e365d021 (diff) |
Fixed Issue 79: PBuffers on macintosh fail to glCopyTexSubImage2D
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@128 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r-- | make/cgl-macosx.cfg | 6 | ||||
-rw-r--r-- | make/stub_includes/macosx/window-system.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index a933b36d9..b3eab2184 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -35,10 +35,10 @@ 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(void* nsContext, int width, int height); +CustomCCode extern void* createPBuffer(int renderTarget, int width, int height); CustomCCode extern Bool destroyPBuffer(void* nsContext, void* pBuffer); -CustomCCode extern int bindPBuffer(void* nsContext, void* pBuffer); -CustomCCode extern void unbindPBuffer(void* nsContext, void* pBuffer, int pBufferTextureName); +CustomCCode extern void setContextPBuffer(void* nsContext, void* pBuffer); +CustomCCode extern void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); CustomCCode extern void* getProcAddress(const char *procName); diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index 2908b07be..4b3f95649 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -25,9 +25,9 @@ void updateContext(void* nsContext, void* nsView); void* updateContextRegister(void* nsContext, void* nsView); void updateContextUnregister(void* nsContext, void* nsView, void* updater); -void* createPBuffer(void* nsContext, int width, int height); +void* createPBuffer(int renderTarget, int width, int height); Bool destroyPBuffer(void* nsContext, void* pBuffer); -int bindPBuffer(void* nsContext, void* pBuffer); -void unbindPBuffer(void* nsContext, void* pBuffer, int pBufferTextureName); +void setContextPBuffer(void* nsContext, void* pBuffer); +void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); void* getProcAddress(const char *procName); |