enable MRT on gl3
This commit is contained in:
parent
2b8898b7b2
commit
704c3f1a10
@ -401,7 +401,7 @@ public class GLRenderer implements Renderer {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasExtension("GL_ARB_draw_buffers")) {
|
||||
if (hasExtension("GL_ARB_draw_buffers") || gl3 != null) {
|
||||
limits.put(Limits.FrameBufferMrtAttachments, getInteger(GLExt.GL_MAX_DRAW_BUFFERS_ARB));
|
||||
if (limits.get(Limits.FrameBufferMrtAttachments) > 1) {
|
||||
caps.add(Caps.FrameBufferMRT);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user