Added a missing field

This commit is contained in:
Stephane Marchesin
2006-03-07 00:56:30 +00:00
parent 5569c2dfae
commit 2560e65a9a
2 changed files with 4 additions and 3 deletions
@@ -44,7 +44,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
//#include "nouveau_state.h"
#include "nouveau_span.h"
#include "nouveau_tex.h"
#include "nv30_tris.h"
#include "nv20_swtcl.h"
#include "vblank.h"
#include "utils.h"
@@ -132,13 +132,13 @@ GLboolean nouveauCreateContext( const __GLcontextModes *glVisual,
case NV_04:
case NV_05:
case NV_10:
case NV_20:
default:
break;
case NV_20:
case NV_30:
case NV_40:
case G_70:
nv30TriInitFunctions( ctx );
nv20TriInitFunctions( ctx );
break;
}
nouveauDDInitStateFuncs( ctx );
@@ -45,6 +45,7 @@ typedef struct {
GLuint spanOffset;
__DRIscreenPrivate *driScreen;
unsigned int sarea_priv_offset;
/* Configuration cache with default values for all contexts */
driOptionCache optionCache;