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:
authorClément Foucault <foucault.clem@gmail.com>2017-02-24 03:25:24 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-02-24 03:26:45 +0300
commitc2453007f4f61c2dda84a6a9dda0f9d275659f3f (patch)
tree9b8477fdf28e358f7d1c0b52325af8316ddfafce /source/blender/editors/screen/glutil.c
parent7b744f9e1aac8960afab5b97c64a436e79c56f38 (diff)
Opengl glaDrawPixels removal: #if 0 glDrawPixels...
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 8f228b28179..1b321c220a1 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -352,6 +352,7 @@ static int get_cached_work_texture(int *r_w, int *r_h)
return texid;
}
+#if 0 /* Obsolete / unused */
/* DEPRECATED: use immDrawPixelsTexScaled_clipping instead */
void glaDrawPixelsTexScaled_clipping(float x, float y, int img_w, int img_h,
int format, int type, int zoomfilter, void *rect,
@@ -617,6 +618,7 @@ void glaDrawPixelsAuto(float x, float y, int img_w, int img_h, int format, int t
glaDrawPixelsAuto_clipping(x, y, img_w, img_h, format, type, zoomfilter, rect,
0.0f, 0.0f, 0.0f, 0.0f);
}
+#endif
/* Use the currently bound shader if there is one.
* To let it draw without other shaders use glUseProgram(0)