Commit 8504d91c authored by hybrid's avatar hybrid

Typo fixed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1698 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 07909b06
...@@ -1904,7 +1904,7 @@ void CNullDriver::enableClipPlane(u32 index, bool enable) ...@@ -1904,7 +1904,7 @@ void CNullDriver::enableClipPlane(u32 index, bool enable)
ITexture* CNullDriver::createRenderTargetTexture(const core::dimension2d<s32>& size, ITexture* CNullDriver::createRenderTargetTexture(const core::dimension2d<s32>& size,
const c8* name) const c8* name)
{ {
os::Printer::log("createRenderTargetTexture is deprecated, use addRenderTargetTexture istead"); os::Printer::log("createRenderTargetTexture is deprecated, use addRenderTargetTexture instead");
ITexture* tex = addRenderTargetTexture(size, name); ITexture* tex = addRenderTargetTexture(size, name);
tex->grab(); tex->grab();
return tex; return tex;
......
...@@ -568,10 +568,7 @@ private: ...@@ -568,10 +568,7 @@ private:
// add zeros at end // add zeros at end
data8[size-1] = 0; memset(data8+size-4, 0, 4);
data8[size-2] = 0;
data8[size-3] = 0;
data8[size-4] = 0;
char16* data16 = reinterpret_cast<char16*>(data8); char16* data16 = reinterpret_cast<char16*>(data8);
char32* data32 = reinterpret_cast<char32*>(data8); char32* data32 = reinterpret_cast<char32*>(data8);
......
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