Last change
on this file since 76474 was 69474, checked in by vboxsync, 7 years ago |
*: scm updates - header files should have 'svn:keywords=Id Revision' too (doesn't mean they have to use them).
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
696 bytes
|
Line | |
---|
1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved.
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef STATE_INTERNALS_H
|
---|
8 | #define STATE_INTERNALS_H
|
---|
9 |
|
---|
10 | #include "cr_spu.h"
|
---|
11 | #include "state/cr_statetypes.h"
|
---|
12 |
|
---|
13 | /* Set the flush_func to NULL *before* it's called, so that we can
|
---|
14 | * call state functions from within flush without infinite recursion.
|
---|
15 | * Yucky, but "necessary" for color material. */
|
---|
16 |
|
---|
17 | #define FLUSH() \
|
---|
18 | if (g->flush_func != NULL) \
|
---|
19 | { \
|
---|
20 | CRStateFlushFunc cached_ff = g->flush_func; \
|
---|
21 | g->flush_func = NULL; \
|
---|
22 | cached_ff( g->flush_arg ); \
|
---|
23 | }
|
---|
24 |
|
---|
25 | typedef void (SPU_APIENTRY *glAble)(GLenum);
|
---|
26 |
|
---|
27 | #define GLCLIENT_BIT_ALLOC 1024
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.