Commit 72e7c203 authored by Nicolai Hähnle's avatar Nicolai Hähnle

glean/fragprog: Do not require EXT_fog_coord

ARB_fragment_program only interacts with, but does not depend on
EXT_fog_coord, so simply skip the fog-related tests when the latter is
not present.
parent c00c294c
This diff is collapsed.
// BEGIN_COPYRIGHT -*- glean -*-
//
//
// Copyright (C) 1999 Allen Akin All Rights Reserved.
//
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
......@@ -10,11 +10,11 @@
// sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the
// Software.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
// KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
......@@ -23,7 +23,7 @@
// AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
// OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
//
// END_COPYRIGHT
// tfragprog.h: Test GL_ARB_fragment_program extension.
......@@ -55,10 +55,14 @@ namespace GLEAN {
class FragmentProgram
{
public:
enum {
NeedsFogCoord = 1
};
const char *name;
const char *progString;
GLfloat expectedColor[4];
GLfloat expectedZ;
uint flags;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment