From: Corbin Simpson Date: Mon, 16 Feb 2009 11:03:28 +0000 (-0800) Subject: r300-gallium: Include-guard r300_emit.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b16d4399892dbf8ab2c72a60b46bbc03ee5cd9a6;p=mesa.git r300-gallium: Include-guard r300_emit.h --- diff --git a/src/gallium/drivers/r300/r300_emit.h b/src/gallium/drivers/r300/r300_emit.h index 7642cfb39ea..f21ca331716 100644 --- a/src/gallium/drivers/r300/r300_emit.h +++ b/src/gallium/drivers/r300/r300_emit.h @@ -20,6 +20,9 @@ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE * USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifndef R300_EMIT_H +#define R300_EMIT_H + #include "util/u_math.h" #include "r300_context.h" @@ -48,3 +51,9 @@ void r300_emit_rs_state(struct r300_context* r300, struct r300_rs_state* rs); void r300_emit_scissor_state(struct r300_context* r300, struct r300_scissor_state* scissor); + + +/* Emit all dirty state. */ +void r300_emit_dirty_state(struct r300_context* r300); + +#endif /* R300_EMIT_H */