diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index db0ca65cd74..ddaa709f269 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -240,7 +240,7 @@ static void draw_icon_centered(float *pos, unsigned int *rect, int rectsize) glRasterPos3fv(pos); /* use bitmap to shift rasterpos in pixels */ - glBitmap(1, 1, 0.0, 0.0, -hsize, -hsize, &dummy); + glBitmap(0, 0, 0.0, 0.0, -hsize, -hsize, &dummy); glFinish(); /* for sun */ glDrawPixels(rectsize, rectsize, GL_RGBA, GL_UNSIGNED_BYTE, rect); diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c index 7c30a4b1a0a..328764984c1 100644 --- a/source/blender/src/glutil.c +++ b/source/blender/src/glutil.c @@ -201,7 +201,7 @@ void glaRasterPosSafe2f(float x, float y, float known_good_x, float known_good_y /* Now shift the raster position to where we wanted * it in the first place using the glBitmap trick. */ - glBitmap(1, 1, 0, 0, x - known_good_x, y - known_good_y, &dummy); + glBitmap(0, 0, 0, 0, x - known_good_x, y - known_good_y, &dummy); } static int get_cached_work_texture(int *w_r, int *h_r)