Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4633 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | intelGetString(struct gl_context * ctx, GLenum name) |
67 | intelGetString(struct gl_context * ctx, GLenum name) |
68 | { |
68 | { |
69 | const struct intel_context *const intel = intel_context(ctx); |
69 | const struct intel_context *const intel = intel_context(ctx); |
70 | const char *chipset; |
70 | const char *chipset; |
71 | static char buffer[128]; |
71 | static char buffer[128]; |
- | 72 | static char driver_name[] = "i915_dri.drv"; |
|
Line 72... | Line 73... | ||
72 | 73 | ||
73 | switch (name) { |
74 | switch (name) { |
74 | case GL_VENDOR: |
75 | case GL_VENDOR: |
75 | return (GLubyte *) "Intel Open Source Technology Center"; |
76 | return (GLubyte *) "Intel Open Source Technology Center"; |
Line 86... | Line 87... | ||
86 | } |
87 | } |
Line 87... | Line 88... | ||
87 | 88 | ||
88 | (void) driGetRendererString(buffer, chipset, 0); |
89 | (void) driGetRendererString(buffer, chipset, 0); |
Line -... | Line 90... | ||
- | 90 | return (GLubyte *) buffer; |
|
- | 91 | ||
- | 92 | case 0x1F04: /* GL_DRIVER_NAME */ |
|
89 | return (GLubyte *) buffer; |
93 | return (GLubyte*)driver_name; |
90 | 94 | ||
91 | default: |
95 | default: |
92 | return NULL; |
96 | return NULL; |