aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/cgl-macosx.cfg6
-rw-r--r--make/stub_includes/macosx/window-system.c6
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);