summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-22 18:35:50 -0600
committerBrian <[email protected]>2007-08-22 18:52:40 -0600
commitfa8cbc45e883762f3c3f1f11497a035c217f8d65 (patch)
treec3cf20f0c35d799eb76cb864ddf06f3c8a2d21c2 /src/mesa/state_tracker/st_context.h
parente9190ec534abb817d4f5d1660c84a0ace3376c84 (diff)
Need to store vendor and renderer strings in the context.
As it was, we always returned the same pointer. So glxinfo, which calls glGetString() before printing anything, was printing the same string for both vendor and renderer.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 38d6a3ed86e..13ea28237c9 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -97,6 +97,9 @@ struct st_context
GLuint frontbuffer_dirty:1;
} flags;
+ char vendor[100];
+ char renderer[100];
+
/* State to be validated:
*/
struct st_tracked_state **atoms;