summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-12 09:31:59 -0600
committerBrian Paul <[email protected]>2009-03-12 09:31:59 -0600
commit6aa6ae8cffd493fab8ef3174e9bfc6c9d72f8efb (patch)
tree35e55d343b415eaeeaeeba81aa280b951c85f875 /progs
parent862dccd56054196dc5adf1377f682d0138fa1789 (diff)
demos: fix error string, comment
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/cubemap.c4
1 files 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);
}
}