X-Git-Url: https://git.jsancho.org/?p=c-irrlicht.git;a=blobdiff_plain;f=src%2FIVideoDriver.cpp;fp=src%2FIVideoDriver.cpp;h=e04dbf6ee9d1cf63c133707ad975ddacac5b90af;hp=14d8fa91c4f27631d8d8487f72046a820910c6b0;hb=59b625c207d1ee8368f04f3c4d675fa393fe94f4;hpb=7e46627fbadd2bcf8169ae429e6fe0a546d2797a diff --git a/src/IVideoDriver.cpp b/src/IVideoDriver.cpp index 14d8fa9..e04dbf6 100644 --- a/src/IVideoDriver.cpp +++ b/src/IVideoDriver.cpp @@ -26,8 +26,8 @@ extern "C" { int irr_video_beginScene(irr_video_IVideoDriver* driver, - int backBuffer, - int zBuffer, + bool backBuffer, + bool zBuffer, const irr_video_SColor* color, irr_video_SExposedVideoData* videoData, const irr_core_rect_s32* sourceRect) @@ -62,9 +62,9 @@ extern "C" { void irr_video_drawVertexPrimitiveList(irr_video_IVideoDriver* driver, const void* vertices, - unsigned int vertexCount, + uint32_t vertexCount, const void* indexList, - unsigned int primCount, + uint32_t primCount, irr_video_E_VERTEX_TYPE vType, irr_scene_E_PRIMITIVE_TYPE pType, irr_video_E_INDEX_TYPE iType) @@ -92,13 +92,14 @@ extern "C" { for (int i=0; i