Enable MRT support via glDrawBuffersEXT.

TRAC #22704 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2128 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent a0a98ff4
......@@ -7285,8 +7285,6 @@ void __stdcall glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params)
void __stdcall glDrawBuffers(GLsizei n, const GLenum* bufs)
{
EVENT("(GLsizei n = %d, const GLenum* bufs = 0x%0.8p)", n, bufs);
try
{
gl::Context *context = gl::getNonLostContext();
......@@ -7297,9 +7295,9 @@ void __stdcall glDrawBuffers(GLsizei n, const GLenum* bufs)
{
return gl::error(GL_INVALID_OPERATION);
}
}
UNIMPLEMENTED();
glDrawBuffersEXT(n, bufs);
}
}
catch(std::bad_alloc&)
{
......
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