Changeset - r8217:447e64cd7207
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-01-07 16:41:03
peter1138@openttd.org
(svn r11780) -Codechange: When compiling a dedicated server build, select the dedicated video driver by default.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/video/dedicated_v.h
Show inline comments
 
@@ -22,7 +22,13 @@ public:
 

	
 
class FVideoDriver_Dedicated: public VideoDriverFactory<FVideoDriver_Dedicated> {
 
public:
 
#ifdef DEDICATED
 
	/* Automatically select this dedicated driver when making a dedicated
 
	 * server build. */
 
	static const int priority = 10;
 
#else
 
	static const int priority = 0;
 
#endif
 
	/* virtual */ const char *GetName() { return "dedicated"; }
 
	/* virtual */ const char *GetDescription() { return "Dedicated Video Driver"; }
 
	/* virtual */ Driver *CreateInstance() { return new VideoDriver_Dedicated(); }
0 comments (0 inline, 0 general)