diff options
author | Kristian Høgsberg <[email protected]> | 2010-10-12 12:02:01 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-10-13 09:43:24 -0400 |
commit | 31aca27c08d6a385c595d34fe4ee06390bf5b0e8 (patch) | |
tree | 798b14d851b87df251206b0896a91e99b5ae0127 /src/mesa/state_tracker/st_cb_viewport.c | |
parent | d3491e775fb07f891463b2185d74bbad62f3ed24 (diff) |
Drop GLframebuffer typedef and just use struct gl_framebuffer
Diffstat (limited to 'src/mesa/state_tracker/st_cb_viewport.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_viewport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_viewport.c b/src/mesa/state_tracker/st_cb_viewport.c index a1fe45cac46..c4076b665cc 100644 --- a/src/mesa/state_tracker/st_cb_viewport.c +++ b/src/mesa/state_tracker/st_cb_viewport.c @@ -34,13 +34,13 @@ #include "util/u_atomic.h" /** - * Cast wrapper to convert a GLframebuffer to an st_framebuffer. - * Return NULL if the GLframebuffer is a user-created framebuffer. + * Cast wrapper to convert a struct gl_framebuffer to an st_framebuffer. + * Return NULL if the struct gl_framebuffer is a user-created framebuffer. * We'll only return non-null for window system framebuffers. * Note that this function may fail. */ static INLINE struct st_framebuffer * -st_ws_framebuffer(GLframebuffer *fb) +st_ws_framebuffer(struct gl_framebuffer *fb) { /* FBO cannot be casted. See st_new_framebuffer */ return (struct st_framebuffer *) ((fb && !fb->Name) ? fb : NULL); |