From 003375d3755fe06227894e941b177491770c17fe Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 17 Jun 2007 20:30:28 +0000 Subject: (svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL --- src/video/dedicated_v.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/video/dedicated_v.cpp') diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index 596e55497..cbcbaef3b 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -14,7 +14,7 @@ #include "../variables.h" #include "../genworld.h" #include "../fileio.h" -#include "../blitter/blitter.hpp" +#include "../blitter/factory.hpp" #include "dedicated_v.h" #ifdef BEOS_NET_SERVER @@ -128,8 +128,6 @@ static const char *DedicatedVideoStart(const char * const *parm) _screen.width = _screen.pitch = _cur_resolution[0]; _screen.height = _cur_resolution[1]; - _screen.renderer = RendererFactoryBase::SelectRenderer(BlitterFactoryBase::GetCurrentBlitter()->GetRenderer()); - if (_screen.renderer == NULL) error("Couldn't load the renderer '%s' the selected blitter depends on", BlitterFactoryBase::GetCurrentBlitter()->GetRenderer()); SetDebugString("net=6"); -- cgit v1.2.3-54-g00ecf