aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-20 15:25:18 +0000
committerBrian Paul <[email protected]>2006-03-20 15:25:18 +0000
commit7275d4d097f97a2154dfe8fa573dc193cb5b4bf1 (patch)
tree38e5601df52558933a47ecadf7b8a1c376fd7bbf /src/mesa/main/framebuffer.h
parentf1038f81e40fe7cd7eddfd64d1c4f3dc0a1a074b (diff)
added _mesa_source/dest_buffer_exists() function to easily test if particular renderbuffers are present
Diffstat (limited to 'src/mesa/main/framebuffer.h')
-rw-r--r--src/mesa/main/framebuffer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.h b/src/mesa/main/framebuffer.h
index fcc493c1937..51847b07c0f 100644
--- a/src/mesa/main/framebuffer.h
+++ b/src/mesa/main/framebuffer.h
@@ -2,7 +2,7 @@
* Mesa 3-D graphics library
* Version: 6.5
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -55,4 +55,11 @@ _mesa_update_framebuffer_visual(struct gl_framebuffer *fb);
extern void
_mesa_update_framebuffer(GLcontext *ctx);
+extern GLboolean
+_mesa_source_buffer_exists(GLcontext *ctx, GLenum format);
+
+extern GLboolean
+_mesa_dest_buffer_exists(GLcontext *ctx, GLenum format);
+
+
#endif /* FRAMEBUFFER_H */