]> git.lizzy.rs Git - irrlicht.git/commitdiff
Drop obsolete video drivers
authornumzero <numzer0@yandex.ru>
Wed, 1 Mar 2023 22:22:04 +0000 (01:22 +0300)
committernumzero <numzer0@yandex.ru>
Wed, 1 Mar 2023 22:22:04 +0000 (01:22 +0300)
include/EDriverTypes.h
include/SIrrCreationParameters.h
include/irrlicht.h

index f5a2e929cb68df94e42589aa18355324802059cb..1c2353640488566241c613e1f8c88d962c67c5e3 100644 (file)
@@ -20,39 +20,12 @@ namespace video
                render and display any graphics. */\r
                EDT_NULL,\r
 \r
-               //! The Irrlicht Engine Software renderer.\r
-               /** Runs on all platforms, with every hardware. It should only\r
-               be used for 2d graphics, but it can also perform some primitive\r
-               3d functions. These 3d drawing functions are quite fast, but\r
-               very inaccurate, and don't even support clipping in 3D mode. */\r
-               EDT_SOFTWARE,\r
-\r
-               //! The Burning's Software Renderer, an alternative software renderer\r
-               /** Basically it can be described as the Irrlicht Software\r
-               renderer on steroids. It rasterizes 3D geometry perfectly: It\r
-               is able to perform correct 3d clipping, perspective correct\r
-               texture mapping, perspective correct color mapping, and renders\r
-               sub pixel correct, sub texel correct primitives. In addition,\r
-               it does bilinear texel filtering and supports more materials\r
-               than the EDT_SOFTWARE driver. This renderer has been written\r
-               entirely by Thomas Alten, thanks a lot for this huge\r
-               contribution. */\r
-               EDT_BURNINGSVIDEO,\r
-\r
-               //! Direct3D8 device is longer supported in Irrlicht. You have to go back to Irrlicht 1.8 if you still need that.\r
-               DEPRECATED_EDT_DIRECT3D8_NO_LONGER_EXISTS, // keep enum to avoid breaking enumeration order (might be used in ini-files, serialization, etc)\r
-\r
-               //! Direct3D 9 device, only available on Win32 platforms.\r
-               /** Performs hardware accelerated rendering of 3D and 2D\r
-               primitives. */\r
-               EDT_DIRECT3D9,\r
-\r
                //! OpenGL device, available on most platforms.\r
                /** Performs hardware accelerated rendering of 3D and 2D\r
                primitives. */\r
                EDT_OPENGL,\r
 \r
-        //! OpenGL-ES 1.x driver, for embedded and mobile systems\r
+               //! OpenGL-ES 1.x driver, for embedded and mobile systems\r
                EDT_OGLES1,\r
 \r
                //! OpenGL-ES 2.x driver, for embedded and mobile systems\r
@@ -66,34 +39,6 @@ namespace video
                EDT_COUNT\r
        };\r
 \r
-       const c8* const DRIVER_TYPE_NAMES[] =\r
-       {\r
-               "NullDriver",\r
-               "Software Renderer",\r
-               "Burning's Video",\r
-               "Direct3D 8.1",\r
-               "Direct3D 9.0c",\r
-               "OpenGL 1.x/2.x/3.x",\r
-               "OpenGL ES1",\r
-               "OpenGL ES2",\r
-               "WebGL 1",\r
-               0\r
-       };\r
-\r
-       const c8* const DRIVER_TYPE_NAMES_SHORT[] =\r
-       {\r
-               "null",\r
-               "software",\r
-               "burning",\r
-               "d3d8",\r
-               "d3d9",\r
-               "opengl",\r
-               "ogles1",\r
-               "ogles2",\r
-               "webgl1",\r
-               0\r
-       };\r
-\r
 } // end namespace video\r
 } // end namespace irr\r
 \r
index bad56e3dd8edf60a492f474cbce80d602445309f..743960489bcdd504023570537d288e7b4c7ca6a3 100644 (file)
@@ -24,7 +24,7 @@ namespace irr
                //! Constructs a SIrrlichtCreationParameters structure with default values.\r
                SIrrlichtCreationParameters() :\r
                        DeviceType(EIDT_BEST),\r
-                       DriverType(video::EDT_BURNINGSVIDEO),\r
+                       DriverType(video::EDT_OPENGL),\r
                        WindowSize(core::dimension2d<u32>(800, 600)),\r
                        WindowPosition(core::position2di(-1,-1)),\r
                        Bits(32),\r
index e099cf79514bf3f865a571aa0b7a2ff09132b722..359f810f4aa140956e5d509406f89d6324468f25 100644 (file)
@@ -271,7 +271,7 @@ namespace irr
        device could not be created.\r
        */\r
        extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(\r
-               video::E_DRIVER_TYPE driverType = video::EDT_SOFTWARE,\r
+               video::E_DRIVER_TYPE driverType = video::EDT_OPENGL,\r
                // parentheses are necessary for some compilers\r
                const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)),\r
                u32 bits = 32,\r