]> git.cworth.org Git - apitrace/commit
glws: Add support for profiles
authorChia-I Wu <olvaffe@gmail.com>
Mon, 7 Nov 2011 23:12:29 +0000 (16:12 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 17 Nov 2011 15:50:26 +0000 (15:50 +0000)
commitd56c5318f7ba4855ee79b0deaf4549212f3e4780
treea9c176ce5efd2bbc724821518c3bdb8cf05b455b
parentba22603848891d875649bcddcc6d39da43b69429
glws: Add support for profiles

The valid profiles are PROFILE_COMPAT, PROFILE_ES1, and PROFILE_ES2.  They
stand for desktop GL with compatibility profile, GLESv1, and GLESv2
respectively.  Update createContext to take profile as the last parameter.
glws.hpp
glws_cocoa.mm
glws_glx.cpp
glws_wgl.cpp