diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-21 14:05:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-21 14:05:43 +0300 |
commit | 841f376a1c2b5dfef22e02696d5ad2ba053ecfbe (patch) | |
tree | 9983016e996284a49351f4608721e09f8d367734 /source/blender/editors/screen/glutil.c | |
parent | f44d8c2780c08fb96461daf831789c59242fcaa2 (diff) |
2.5
- View3D: added ALT+B clipping operator. Note this needs a call to
the new function view3d_operator_needs_opengl(C) to ensure you
can use opengl functions. Event handling by default doesn't set
opengl per subwindow, it's also forbidden to draw then!
We might consider to tag operators that need opengl...
- Forgot to include creator.c fix for loading builtin vector font
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index d500c9f37c1..bead9a6399f 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -199,17 +199,6 @@ void sdrawXORline(int x0, int y0, int x1, int y1) set_inverted_drawing(0); } -void glutil_draw_front_xor_line(int x0, int y0, int x1, int y1) -{ - glReadBuffer(GL_FRONT); - glDrawBuffer(GL_FRONT); - sdrawXORline(x0, y0, x1, y1); - glFlush(); - glReadBuffer(GL_BACK); - glDrawBuffer(GL_BACK); - -} - void sdrawXORline4(int nr, int x0, int y0, int x1, int y1) { static short old[4][2][2]; |