diff --git a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java index 7bcd1c261..a377a21c6 100644 --- a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java +++ b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java @@ -191,6 +191,9 @@ public class JmeDesktopSystem extends JmeSystemDelegate { case Canvas: ctxClazz = (Class) Class.forName("com.jme3.system.jogl.JoglNewtCanvas"); break; + case OffscreenSurface: + ctxClazz = (Class) Class.forName("com.jme3.system.jogl.JoglOffscreenBuffer"); + break; default: throw new IllegalArgumentException("Unsupported context type " + type); }