summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-08-20 14:00:44 (GMT)
committerMarius Kintel <marius@kintel.net>2012-08-20 14:00:44 (GMT)
commit0170923b9bb51e198c8a3ad1b98ca5ed74a6c77d (patch)
treec256657b21ecbe4ba7ae3343dfe35e5db9341ed8
parent6b32e38e2a6fede1f143968c82341e880ab0ed3c (diff)
Enable running the test suite on a Mac VM
-rw-r--r--tests/OffscreenContext.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/OffscreenContext.mm b/tests/OffscreenContext.mm
index 990d3a4..a0995fa 100644
--- a/tests/OffscreenContext.mm
+++ b/tests/OffscreenContext.mm
@@ -57,9 +57,11 @@ OffscreenContext *create_offscreen_context(int w, int h)
NSOpenGLPixelFormatAttribute attributes[] = {
NSOpenGLPFAPixelBuffer,
NSOpenGLPFANoRecovery,
- NSOpenGLPFAAccelerated,
NSOpenGLPFADepthSize, 24,
NSOpenGLPFAStencilSize, 8,
+// Took out the acceleration requirement to be able to run the tests
+// in a non-accelerated VM.
+// NSOpenGLPFAAccelerated,
(NSOpenGLPixelFormatAttribute) 0
};
NSOpenGLPixelFormat *pixFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:attributes] autorelease];
contact: Jan Huwald // Impressum