Search
lxdream.org :: lxdream/src/pvr2/scene.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/scene.c
changeset 667:0e1ac8da75d9
prev653:3202ff01d48e
next669:ab344e42bca9
author nkeynes
date Sat Apr 19 02:39:37 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Centralize gl ext checks in glutil.c
file annotate diff log raw
1.1 --- a/src/pvr2/scene.c Fri Mar 28 12:32:25 2008 +0000
1.2 +++ b/src/pvr2/scene.c Sat Apr 19 02:39:37 2008 +0000
1.3 @@ -26,8 +26,6 @@
1.4 #include "pvr2/glutil.h"
1.5 #include "pvr2/scene.h"
1.6
1.7 -#define VBO_EXT_STRING "GL_ARB_vertex_buffer_object"
1.8 -#define PBO_EXT_STRING "GL_ARB_pixel_buffer_object"
1.9
1.10 static inline uint32_t bgra_to_rgba(uint32_t bgra)
1.11 {
1.12 @@ -67,7 +65,7 @@
1.13 {
1.14 if( !vbo_init ) {
1.15 #ifdef ENABLE_VERTEX_BUFFER
1.16 - if( isGLExtensionSupported(VBO_EXT_STRING) ) {
1.17 + if( isGLVertexBufferSupported() ) {
1.18 vbo_supported = TRUE;
1.19 pvr2_scene.vbo_id = 1;
1.20 }
.