aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-21 18:45:47 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-21 18:45:47 +0000
commit8be69a4b6a53c84e0e19c7c0ec8dde9a96f03bc0 (patch)
tree73de37ede5a9e8cecda99fde993f1c3996926785 /src/base
parent868ce765441473e7d1fec9b3ad22a707f121a637 (diff)
downloadusdx-8be69a4b6a53c84e0e19c7c0ec8dde9a96f03bc0.tar.gz
usdx-8be69a4b6a53c84e0e19c7c0ec8dde9a96f03bc0.tar.xz
usdx-8be69a4b6a53c84e0e19c7c0ec8dde9a96f03bc0.zip
- better lyric <-> video sync
- fixed glTexEnv() bug: GL_TEXTURE_2D is not valid here - pixel buffer test - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2261 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/base/UGraphic.pas10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/base/UGraphic.pas b/src/base/UGraphic.pas
index 2b9a16fe..33e862f2 100644
--- a/src/base/UGraphic.pas
+++ b/src/base/UGraphic.pas
@@ -206,6 +206,10 @@ var
// textures for software mouse cursor
Tex_Cursor_Unpressed: TTexture;
Tex_Cursor_Pressed: TTexture;
+
+
+ PboSupported: boolean;
+
const
Skin_BGColorR = 1;
Skin_BGColorG = 1;
@@ -461,6 +465,12 @@ begin
// Other extensions e.g. OpenGL 1.3-2.0 or Framebuffer-Object might be loaded here
// ...
//Load_GL_EXT_framebuffer_object();
+
+ // PBO functions are loaded with VBO
+ //PboSupported := Load_GL_ARB_pixel_buffer_object()
+ // and Load_GL_ARB_vertex_buffer_object();
+ //Log.LogWarn('PBOSupported: ' + BoolToStr(PboSupported, true), 'LoadOpenGLExtensions');
+ PboSupported := false;
end;
const