From d2b8f496751d7b1a26721ea100043fe3837cbfac Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 24 Sep 2003 12:30:09 +0000 Subject: - splashcreen for 2.28c --- source/blender/src/editscreen.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'source/blender/src/editscreen.c') 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); -- cgit v1.2.3