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:
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index ae72b10dce8..e6aed8817a5 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -566,31 +566,8 @@ void splash(void *data, int datasize, char *string)
oldwin = mywinget();
mywinset(G.curscreen->mainwin);
- if (string) {
- int x, y, maxy;
- unsigned int *rect;
-
- rect = bbuf->rect;
- maxy = MIN2(bbuf->y, 18);
-
- for (y = 0; y < maxy; y++) {
- for (x = 0; x < bbuf->x; x++) {
- *rect = 0xffffffff;
- rect++;
- }
- }
- }
glDrawBuffer(GL_FRONT);
- /*
- // this dims the whole screen a bit. I didn't like it afterall
- glEnable(GL_BLEND);
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glColor4f(0.0,0.0,0.0,0.3);
- glRecti(0, 0, G.curscreen->sizex, G.curscreen->sizey);
- glDisable(GL_BLEND);
- */
-
glRasterPos2i((prefsizx-bbuf->x)/2, (prefsizy-bbuf->y)/2);
glDrawPixels(bbuf->x, bbuf->y, GL_RGBA, GL_UNSIGNED_BYTE, bbuf->rect);