Fix a few places which called the driverType a deviceType (variable-names and documentation).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5584 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-11-22 17:09:56 +00:00
parent 42958c233a
commit fc1b290951
2 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ int main()
object for doing anything with the engine. createDevice() has the
following parameters:
- deviceType: Type of the device. This can currently be the Null-device,
- driverType: Type of the video driver. This can currently be the Null-device,
one of the two software renderers, D3D9, or OpenGL. In this
example we use EDT_BURNINGSVIDEO, but to try out, you might want to
change it to EDT_SOFTWARE, EDT_NULL, EDT_DIRECT3D9, or EDT_OPENGL.

View File

@ -311,7 +311,7 @@ namespace irr
//! Creates an Irrlicht device. The Irrlicht device is the root object for using the engine.
/** If you need more parameters to be passed to the creation of the Irrlicht Engine device,
use the createDeviceEx() function.
\param deviceType: Type of the device. This can currently be video::EDT_NULL,
\param driverType: Type of the video driver to use. This can currently be video::EDT_NULL,
video::EDT_SOFTWARE, video::EDT_BURNINGSVIDEO, video::EDT_DIRECT3D9 and video::EDT_OPENGL.
\param windowSize: Size of the window or the video mode in fullscreen mode.
\param bits: Bits per pixel in fullscreen mode. Ignored if windowed mode.
@ -327,7 +327,7 @@ namespace irr
device could not be created.
*/
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDevice(
video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE,
video::E_DRIVER_TYPE driverType = video::EDT_SOFTWARE,
// parentheses are necessary for some compilers
const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)),
u32 bits = 32,
@ -338,7 +338,7 @@ namespace irr
//! typedef for Function Pointer
typedef IrrlichtDevice* (IRRCALLCONV *funcptr_createDevice )(
video::E_DRIVER_TYPE deviceType,
video::E_DRIVER_TYPE driverType,
const core::dimension2d<u32>& windowSize,
u32 bits,
bool fullscreen,