Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-24 14:17:45 +0300
committerTon Roosendaal <ton@blender.org>2008-12-24 14:17:45 +0300
commit9bb7babd2c17f4be6aea2ffbfe89e18fffbd0341 (patch)
treee49e489cc437c34b6ff300c4efffb02c9d4366fa /source/blender/editors/space_node/node_draw.c
parente60e7f36679109a6c600f0029a60486e99d7995b (diff)
2.5
Made nodes compile for Makefile and mac. It has a hack for intel cards in node previews... not sure if that is still valid? commented it out.
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r--source/blender/editors/space_node/node_draw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index ca522678c20..2f09f87ef9e 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -593,12 +593,12 @@ static void node_draw_preview(bNodePreview *preview, rctf *prv)
}
#ifdef __APPLE__
- if(is_a_really_crappy_nvidia_card()) {
- float zoomx= curarea->winx/(float)(G.v2d->cur.xmax-G.v2d->cur.xmin);
- float zoomy= curarea->winy/(float)(G.v2d->cur.ymax-G.v2d->cur.ymin);
- glPixelZoom(zoomx*xscale, zoomy*yscale);
- }
- else
+// if(is_a_really_crappy_nvidia_card()) { XXX
+// float zoomx= curarea->winx/(float)(G.v2d->cur.xmax-G.v2d->cur.xmin);
+// float zoomy= curarea->winy/(float)(G.v2d->cur.ymax-G.v2d->cur.ymin);
+// glPixelZoom(zoomx*xscale, zoomy*yscale);
+// }
+// else
#endif
glPixelZoom(xscale, yscale);