From b0efc647f147d3a5b1dd36d8de9eea3d8e9dd63b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 26 Nov 2020 13:49:41 -0500 Subject: [PATCH] An OpenGL context is neither still necessary nor desirable. --- .../Clock SignalTests/MasterSystemVDPTests.mm | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/MasterSystemVDPTests.mm b/OSBindings/Mac/Clock SignalTests/MasterSystemVDPTests.mm index 5a6167bd4..f3e4902f8 100644 --- a/OSBindings/Mac/Clock SignalTests/MasterSystemVDPTests.mm +++ b/OSBindings/Mac/Clock SignalTests/MasterSystemVDPTests.mm @@ -13,29 +13,10 @@ @interface MasterSystemVDPTests : XCTestCase @end -@implementation MasterSystemVDPTests { - NSOpenGLContext *_openGLContext; -} +@implementation MasterSystemVDPTests - (void)setUp { [super setUp]; - - // Create a valid OpenGL context, so that a VDP can be constructed. - NSOpenGLPixelFormatAttribute attributes[] = { - NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core, - 0 - }; - - NSOpenGLPixelFormat *pixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attributes]; - _openGLContext = [[NSOpenGLContext alloc] initWithFormat:pixelFormat shareContext:nil]; - [_openGLContext makeCurrentContext]; -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - _openGLContext = nil; - - [super tearDown]; } - (void)testLineInterrupt {