Nitpicking, another try to make sure we're not doing things the driver doesn't support.
This commit is contained in:
@@ -285,6 +285,9 @@ RString GetInfoLog( GLhandleARB h )
|
||||
|
||||
GLhandleARB CompileShader( GLenum ShaderType, RString sFile, vector<RString> asDefines )
|
||||
{
|
||||
if (!glewIsSupported("GL_ARB_fragment_shader"))
|
||||
return 0;
|
||||
|
||||
RString sBuffer;
|
||||
{
|
||||
RageFile file;
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
|
||||
windowRect = NSMakeRect( 0, 0, size.width, size.height + height + progressHeight);
|
||||
m_Window = [[NSWindow alloc] initWithContentRect:windowRect
|
||||
styleMask:NSTitledWindowMask
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:YES];
|
||||
styleMask:NSTitledWindowMask
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:YES];
|
||||
|
||||
NSView *view = [m_Window contentView];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user