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-12-09 20:46:40 +0300
committerTon Roosendaal <ton@blender.org>2003-12-09 20:46:40 +0300
commited30332365a671b6c0c62336fc7d6c79f5fa41c1 (patch)
tree5ab6ae0ef6551b49c2e547f403f9c4f21a74ee1d /source/blender/src/mywindow.c
parentf27578eda25d175e4983f8bcb9605a4082051f0e (diff)
- fix: SHIFT+CTRL+P didn't work (make parent without inverse)
- added: when start blender in debug mode (blender -b) it prints the depth of framebuffer.
Diffstat (limited to 'source/blender/src/mywindow.c')
-rw-r--r--source/blender/src/mywindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/mywindow.c b/source/blender/src/mywindow.c
index ab7697e2fc5..070e2b0ce34 100644
--- a/source/blender/src/mywindow.c
+++ b/source/blender/src/mywindow.c
@@ -107,6 +107,8 @@ void mywindow_init_mainwin(Window *win, int orx, int ory, int sizex, int sizey)
glGetIntegerv(GL_BLUE_BITS, &b);
mainwin_color_depth= r + g + b;
+
+ if(G.f & G_DEBUG) printf("Color depth R=%d G=%d B=%d\n", (int)r, (int)g, (int)b);
}
/* XXXXXXXXXXXXXXXX very hacky, not allowed to release