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:
authorTon Roosendaal <ton@blender.org>2003-09-24 16:30:09 +0400
committerTon Roosendaal <ton@blender.org>2003-09-24 16:30:09 +0400
commitd2b8f496751d7b1a26721ea100043fe3837cbfac (patch)
treeb9c6dbbc0afab500b90328e0bf178c4f3ce7ab1b /source/blender/src/editscreen.c
parent8a11c13f3036283b5edb31cd285c2f190a3e03c6 (diff)
- splashcreen for 2.28cv2.28c
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);