aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_drawtex.h
blob: 48cf45e1f9829d8dd896f75f219e6a4efd0380b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**************************************************************************
 * 
 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
 * All Rights Reserved.
 *
 **************************************************************************/


#ifndef ST_CB_DRAWTEX_H
#define ST_CB_DRAWTEX_H


#include "main/compiler.h"

struct dd_function_table;
struct st_context;

#if FEATURE_OES_draw_texture

extern void
st_init_drawtex_functions(struct dd_function_table *functions);

extern void
st_destroy_drawtex(struct st_context *st);

#else

static INLINE void
st_init_drawtex_functions(struct dd_function_table *functions)
{
}

static INLINE void
st_destroy_drawtex(struct st_context *st)
{
}

#endif /* FEATURE_OES_draw_texture */

#endif /* ST_CB_DRAWTEX_H */