Nitpicking, another try to make sure we're not doing things the driver doesn't support.

This commit is contained in:
Colby Klein
2011-07-20 22:38:10 -07:00
parent bc8d340801
commit 44a160708f
3 changed files with 14 additions and 19 deletions
+3
View File
@@ -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];