# File lib/rubygame/gl.rb, line 75 def self.set_attrib( attrib, value ) result = SDL.GL_SetAttribute( attrib, value ) if( result == -1 ) raise Rubygame::SDLError, "GL set attribute failed: #{SDL.GetError()}" end end