Просмотр исходного кода

replaced gl_ggiRendererString() with gl_ggiGetString()

tags/mesa_3_3
Brian Paul 27 лет назад
Родитель
Сommit
b6273023a2
1 измененных файлов: 6 добавлений и 3 удалений
  1. 6
    3
      src/mesa/drivers/ggi/ggimesa.c

+ 6
- 3
src/mesa/drivers/ggi/ggimesa.c Просмотреть файл

} }




static const char * gl_ggiRendererString(void)
static const GLubyte * gl_ggiGetString(GLcontext *ctx, GLenum name)
{ {
return "GGI";
if (name == GL_RENDERER)
return (GLubyte *) "Mesa GGI";
else
return NULL;
} }


static void gl_ggiFlush(GLcontext *ctx) static void gl_ggiFlush(GLcontext *ctx)
/* Initialize all the pointers in the DD struct. Do this whenever */ /* Initialize all the pointers in the DD struct. Do this whenever */
/* a new context is made current or we change buffers via set_buffer! */ /* a new context is made current or we change buffers via set_buffer! */


ctx->Driver.RendererString = gl_ggiRendererString;
ctx->Driver.GetString = gl_ggiGetString;
ctx->Driver.UpdateState = gl_ggiUpdateState; ctx->Driver.UpdateState = gl_ggiUpdateState;


ctx->Driver.ClearIndex = gl_ggiSetClearIndex; ctx->Driver.ClearIndex = gl_ggiSetClearIndex;

Загрузка…
Отмена
Сохранить