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:
authorChris Want <cwant@ualberta.ca>2003-01-29 08:37:24 +0300
committerChris Want <cwant@ualberta.ca>2003-01-29 08:37:24 +0300
commite469083a3322798141bc302c0c57156d1314e54b (patch)
tree0086f14494acdc171f5ff545ad80689b9607e4f0 /source/creator
parenta6e4b7bb18ecf15c2b5bb598445bd5ed66c719aa (diff)
The other part of sgefant's fullscreen by default patch: turning
off fullscreen using the -w flag.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 880f07ff8c1..dd3a79cf686 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -323,7 +323,13 @@ int main(int argc, char **argv)
break;
case 'w':
- /* XXX, fixme zr, with borders */
+ /* XXX, fixme zr, with borders */
+ /* there probably is a better way to do
+ * this, right now do as if blender was
+ * called with "-p 0 0 xres yres" -- sgefant
+ */
+ winlay_get_screensize(&sizx, &sizy);
+ setprefsize(0, 0, sizx, sizy);
break;
case 'W':
/* XXX, fixme zr, borderless on win32 */