From 6aa6ae8cffd493fab8ef3174e9bfc6c9d72f8efb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 12 Mar 2009 09:31:59 -0600 Subject: [PATCH] demos: fix error string, comment --- progs/demos/cubemap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2