From: Brian Paul Date: Thu, 12 Mar 2009 15:31:59 +0000 (-0600) Subject: demos: fix error string, comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aa6ae8cffd493fab8ef3174e9bfc6c9d72f8efb;p=mesa.git demos: fix error string, comment --- diff --git a/progs/demos/cubemap.c b/progs/demos/cubemap.c index 41f99d0164d..26db42aed5e 100644 --- a/progs/demos/cubemap.c +++ b/progs/demos/cubemap.c @@ -495,7 +495,7 @@ static void load_envmaps(void) static void init( GLboolean useImageFiles ) { - /* check for extension */ + /* check for extensions */ { char *exten = (char *) glGetString(GL_EXTENSIONS); if (!strstr(exten, "GL_ARB_texture_cube_map")) { @@ -506,7 +506,7 @@ static void init( GLboolean useImageFiles ) /* Needed for glGenerateMipmapEXT */ if (!strstr(exten, "GL_EXT_framebuffer_object")) { - printf("Sorry, this demo requires GL_ARB_texture_cube_map\n"); + printf("Sorry, this demo requires GL_EXT_framebuffer_object\n"); exit(0); } }