/* apply any lod biasing right now */
if (pname==GL_TEXTURE_LOD_BIAS_EXT) {
- grTexLodBiasValue(GR_TMU0,*param);
+ FX_grTexLodBiasValue(GR_TMU0,*param);
if(fxMesa->haveTwoTMUs) {
- grTexLodBiasValue(GR_TMU1,*param);
+ FX_grTexLodBiasValue(GR_TMU1,*param);
}
}
#define FX_grGlideShutdown() \
do { \
- BEGIN_CLIP_LOOP(); \
+ BEGIN_BOARD_LOCK(); \
grGlideShutdown(); \
- END_CLIP_LOOP(); \
+ END_BOARD_LOCK(); \
+ } while (0)
+
+#define FX_grTexLodBiasValue_NoLock(t, v) grTexLodBiasValue(t, v)
+
+#define FX_grTexLodBiasValue(t, v) \
+ do { \
+ BEGIN_BOARD_LOCK(); \
+ grTexLodBiasValue(t, v); \
+ END_BOARD_LOCK(); \
} while (0)
#define FX_grGlideInit_NoLock grGlideInit