浏览代码

macosx: finish pixmap field removal

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35390 15284696-431f-4ddb-bdfa-cd5b030d7da7
William Kyngesburye 16 年之前
父节点
当前提交
302eecf074
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      lib/nviz/render.c

+ 0 - 3
lib/nviz/render.c

@@ -50,7 +50,6 @@ void Nviz_init_render_window(struct render_window *rwin)
 #elif defined(OPENGL_AQUA)
 #elif defined(OPENGL_AQUA)
     rwin->pixelFmtId = NULL;
     rwin->pixelFmtId = NULL;
     rwin->contextId = NULL;
     rwin->contextId = NULL;
-    rwin->pixmap = 0;
     rwin->windowId = NULL;
     rwin->windowId = NULL;
 #elif defined(OPENGL_WINDOWS)
 #elif defined(OPENGL_WINDOWS)
     rwin->displayId = NULL;
     rwin->displayId = NULL;
@@ -141,8 +140,6 @@ int Nviz_create_render_window(struct render_window *rwin, void *display,
 
 
     rwin->contextId = aglCreateContext(rwin->pixelFmtId, NULL);
     rwin->contextId = aglCreateContext(rwin->pixelFmtId, NULL);
 
 
-    /* create win pixmap to render to (same depth as RootWindow) */
-    rwin->pixmap = NULL;	/* TODO: create GWorldPtr */
     /* create an off-screen AGL rendering area */
     /* create an off-screen AGL rendering area */
     aglCreatePBuffer(width, height, GL_TEXTURE_2D, GL_RGBA, 0, &(rwin->windowId));
     aglCreatePBuffer(width, height, GL_TEXTURE_2D, GL_RGBA, 0, &(rwin->windowId));
 #elif defined(OPENGL_WINDOWS)
 #elif defined(OPENGL_WINDOWS)