[Aqsis-commits] SF.net SVN: aqsis: [1928] trunk/aqsis
Brought to you by:
ltatkinson,
pgregory
From: <pgr...@us...> - 2008-02-20 11:16:56
|
Revision: 1928 http://aqsis.svn.sourceforge.net/aqsis/?rev=1928&view=rev Author: pgregory Date: 2008-02-20 03:16:56 -0800 (Wed, 20 Feb 2008) Log Message: ----------- Switch to piqsl as the default framebuffer. The original one is still available as "oldframebuffer". You can switch back by redirecting "framebuffer" to the main display library in aqsisrc, display has been modified to recognise "framebuffer" and "oldframebuffer" as the type for a framebuffer display. Modified Paths: -------------- trunk/aqsis/aqsisrc.in.cmake trunk/aqsis/displays/display/display.cpp Modified: trunk/aqsis/aqsisrc.in.cmake =================================================================== --- trunk/aqsis/aqsisrc.in.cmake 2008-02-20 02:35:35 UTC (rev 1927) +++ trunk/aqsis/aqsisrc.in.cmake 2008-02-20 11:16:56 UTC (rev 1928) @@ -1,5 +1,5 @@ Option "display" "string file" ["${display_DISPLAYLIB}"] -Option "display" "string framebuffer" ["${display_DISPLAYLIB}"] +Option "display" "string framebuffer" ["${piqsl_DISPLAYLIB}"] Option "display" "string zfile" ["${display_DISPLAYLIB}"] Option "display" "string zframebuffer" ["${display_DISPLAYLIB}"] Option "display" "string shadow" ["${display_DISPLAYLIB}"] @@ -9,6 +9,7 @@ Option "display" "string bmp" ["${d_bmp_DISPLAYLIB}"] Option "display" "string debugdd" ["debugdd"] Option "display" "string piqsl" ["${piqsl_DISPLAYLIB}"] +Option "display" "string oldframebuffer" ["${display_DISPLAYLIB}"] Option "defaultsearchpath" "string shader" ["${SHADERPATH}"] Option "defaultsearchpath" "string archive" ["${ARCHIVEPATH}"] Modified: trunk/aqsis/displays/display/display.cpp =================================================================== --- trunk/aqsis/displays/display/display.cpp 2008-02-20 02:35:35 UTC (rev 1927) +++ trunk/aqsis/displays/display/display.cpp 2008-02-20 11:16:56 UTC (rev 1928) @@ -438,7 +438,7 @@ pImage->m_imageType = Type_File; #ifndef AQSIS_NO_FLTK - else if(strcmp(drivername, "framebuffer")==0) + else if((strcmp(drivername, "framebuffer")==0) || (strcmp(drivername, "oldframebuffer")==0)) pImage->m_imageType = Type_Framebuffer; #endif // AQSIS_NO_FLTK This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |