Commit 590dff3e authored by hybrid's avatar hybrid

Support alpha values with OpenGL RTTs.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1065 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 9bb951a2
......@@ -50,7 +50,7 @@ COpenGLTexture::COpenGLTexture(const core::dimension2d<s32>& size,
const char* name,
COpenGLDriver* driver)
: ITexture(name), ImageSize(size), Driver(driver), Image(0),
TextureName(0), InternalFormat(GL_RGB8), PixelFormat(GL_RGBA),
TextureName(0), InternalFormat(GL_RGBA), PixelFormat(GL_RGBA),
PixelType(GL_UNSIGNED_BYTE), HasMipMaps(false), IsRenderTarget(true),
ColorFrameBuffer(0), DepthRenderBuffer(0), StencilRenderBuffer(0), Locks(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