return result;
}
+FxBool FX_grSstControl(FxU32 code)
+{
+#if defined(FX_GLIDE3)
+ (void) code;
+ return 1; /* OK? */
+#else
+ FxU32 result;
+ BEGIN_BOARD_LOCK();
+ result = grSstControl(code);
+ END_BOARD_LOCK();
+ return result;
+#endif
+}
+
+
#if defined(FX_GLIDE3)
void FX_grGammaCorrectionValue(float val)
/* ToDo */
}
-void FX_grSstControl(int par)
-{
- (void)par;
- /* ToDo */
-}
int FX_getFogTableSize(void)
{
int result;
#else
#define FX_setupGrVertexLayout() do {} while (0)
#endif
+
/*
* grSstControl stuff
*/
-#if defined(FX_GLIDE3)
- extern void FX_grSstControl(int par);
-#else
- #define FX_grSstControl(p) \
- do { \
- BEGIN_BOARD_LOCK(); \
- grSstControl(p); \
- END_BOARD_LOCK(); \
- } while (0)
-#endif
+extern FxBool FX_grSstControl(FxU32 code);
+
/*
* grGammaCorrectionValue
*/