aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-examples
diff options
context:
space:
mode:
authorrenanse <[email protected]>2013-02-03 12:10:05 -0600
committerrenanse <[email protected]>2013-02-03 12:10:05 -0600
commite757ccd563c81206aebc586fead0ede52dca2f58 (patch)
tree6cc8d81b246788d6302af801676a2376f350d038 /ardor3d-examples
parentdc29c24ed025144452bade21fbe45ab609c6b854 (diff)
Added detection of MSAA FBO and FBO blit.
Fixed multisample support on LwjglHeadlessCanvas - still needs fixing in FBO texture rendering.
Diffstat (limited to 'ardor3d-examples')
-rw-r--r--ardor3d-examples/src/main/java/com/ardor3d/example/basic/LwjglHeadlessExample.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ardor3d-examples/src/main/java/com/ardor3d/example/basic/LwjglHeadlessExample.java b/ardor3d-examples/src/main/java/com/ardor3d/example/basic/LwjglHeadlessExample.java
index c0f147f..516b46a 100644
--- a/ardor3d-examples/src/main/java/com/ardor3d/example/basic/LwjglHeadlessExample.java
+++ b/ardor3d-examples/src/main/java/com/ardor3d/example/basic/LwjglHeadlessExample.java
@@ -110,7 +110,8 @@ public class LwjglHeadlessExample implements Scene {
*/
public LwjglHeadlessExample() {
// Setup our headless canvas for rendering.
- settings = new DisplaySettings(800, 600, 0, 0, false);
+ // settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 4, false, false); // use this to try MSAA
+ settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 0, false, false);
canvas = new LwjglHeadlessCanvas(settings, this);
canvas.getRenderer().setBackgroundColor(ColorRGBA.BLACK_NO_ALPHA);