File diff r21026:c28235777a51 → r21027:e87e97e6befd
src/video/sdl_v.h
Show inline comments
 
@@ -38,15 +38,13 @@ private:
 
	int PollEvent();
 
	bool CreateMainSurface(uint w, uint h);
 
	void SetupKeyboard();
 
};
 

	
 
/** Factory for the SDL video driver. */
 
class FVideoDriver_SDL: public VideoDriverFactory<FVideoDriver_SDL> {
 
class FVideoDriver_SDL : public DriverFactoryBase {
 
public:
 
	static const int priority = 5;
 
	/* virtual */ const char *GetName() { return "sdl"; }
 
	/* virtual */ const char *GetDescription() { return "SDL Video Driver"; }
 
	/* virtual */ Driver *CreateInstance() { return new VideoDriver_SDL(); }
 
	FVideoDriver_SDL() : DriverFactoryBase(Driver::DT_VIDEO, 5, "sdl", "SDL Video Driver") {}
 
	/* virtual */ Driver *CreateInstance() const { return new VideoDriver_SDL(); }
 
};
 

	
 
#endif /* VIDEO_SDL_H */