Commit ca751c41 authored by hybrid's avatar hybrid

Fix types for new helper method.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2873 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e5488e17
...@@ -1355,7 +1355,7 @@ bool CD3D8Driver::setRenderStates3DMode() ...@@ -1355,7 +1355,7 @@ bool CD3D8Driver::setRenderStates3DMode()
//! Map Irrlicht texture wrap mode to native values //! Map Irrlicht texture wrap mode to native values
D3DTEXTUREADDRESS CD3D8Driver::getTextureWrapMode(const E_TEXTURE_CLAMP clamp) D3DTEXTUREADDRESS CD3D8Driver::getTextureWrapMode(const u8 clamp)
{ {
switch (clamp) switch (clamp)
{ {
......
...@@ -275,7 +275,7 @@ namespace video ...@@ -275,7 +275,7 @@ namespace video
E_VERTEX_TYPE vType, scene::E_PRIMITIVE_TYPE pType, E_VERTEX_TYPE vType, scene::E_PRIMITIVE_TYPE pType,
E_INDEX_TYPE iType, bool is3D); E_INDEX_TYPE iType, bool is3D);
D3DTEXTUREADDRESS getTextureWrapMode(const E_TEXTURE_CLAMP clamp); D3DTEXTUREADDRESS getTextureWrapMode(const u8 clamp);
inline D3DCOLORVALUE colorToD3D(const SColor& col) inline D3DCOLORVALUE colorToD3D(const SColor& col)
{ {
......
...@@ -1920,7 +1920,7 @@ bool CD3D9Driver::setRenderStates3DMode() ...@@ -1920,7 +1920,7 @@ bool CD3D9Driver::setRenderStates3DMode()
//! Map Irrlicht texture wrap mode to native values //! Map Irrlicht texture wrap mode to native values
D3DTEXTUREADDRESS CD3D9Driver::getTextureWrapMode(const E_TEXTURE_CLAMP clamp) D3DTEXTUREADDRESS CD3D9Driver::getTextureWrapMode(const u8 clamp)
{ {
switch (clamp) switch (clamp)
{ {
......
...@@ -360,7 +360,7 @@ namespace video ...@@ -360,7 +360,7 @@ namespace video
E_VERTEX_TYPE vType, scene::E_PRIMITIVE_TYPE pType, E_VERTEX_TYPE vType, scene::E_PRIMITIVE_TYPE pType,
E_INDEX_TYPE iType, bool is3D); E_INDEX_TYPE iType, bool is3D);
D3DTEXTUREADDRESS getTextureWrapMode(const E_TEXTURE_CLAMP clamp); D3DTEXTUREADDRESS getTextureWrapMode(const u8 clamp);
inline D3DCOLORVALUE colorToD3D(const SColor& col) inline D3DCOLORVALUE colorToD3D(const SColor& col)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment