diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-19 08:27:48 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-07-19 09:31:58 +0200 |
commit | 2192e92309133e8aabd5acc4f9cf9c21c7108a45 (patch) | |
tree | 31387399310b22dd01dba9669046e26fce9f38be /tools | |
parent | 1c2b29597ec0a208ffe214d68f6af4a0ab2cb556 (diff) |
driver: set GL_API_MODE
On GC2000 there is a register GL_API_MODE that sets the global API mode
for the context. I do not know what it does, but if another application
left it at OPENVG/OPENCL that could have unpredictable consequences.
Set it to OPENGL at context creation.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/data/viv_gallium_state.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/data/viv_gallium_state.txt b/tools/data/viv_gallium_state.txt index 0253127..b8db770 100644 --- a/tools/data/viv_gallium_state.txt +++ b/tools/data/viv_gallium_state.txt @@ -5,6 +5,7 @@ base_setup_state base_setup. ETNA_STATE_BASE_SETUP PA.W_CLIP_LIMIT GL.VERTEX_ELEMENT_CONFIG + GL.API_MODE rasterizer_state rasterizer-> ETNA_STATE_RASTERIZER PA.CONFIG |