Commit 645c595f authored by cutealien's avatar cutealien

Fix compiling on Linux.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5170 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 1e65f32e
......@@ -9,6 +9,7 @@
#include "position2d.h"
#include "rect.h"
#include "SColor.h"
#include <string.h>
namespace irr
{
......
......@@ -411,7 +411,7 @@ namespace video
if (image)
image->setMipMapsData(mipmapData, false, true);
addTexture(name, image);
return addTexture(name, image);
}
//! Creates a texture from an IImage.
......@@ -497,7 +497,7 @@ namespace video
The value is a safe approximation, i.e. can be larger than the
actual value of pixels. */
virtual u32 getOcclusionQueryResult(scene::ISceneNode* node) const =0;
//! Create render target.
virtual IRenderTarget* addRenderTarget() = 0;
......
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