2025-11-28 10:07 CET

spring: develop cbb8d8e7 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2008-01-25 09:46:06 develop 8933083c
Changeset * Replaced gl.OcclusionQuery() with:
      gl.CreateQuery() -> query
      gl.DeleteQuery(query)
      gl.RunQuery(query, function, ...)
      gl.GetQuery(query) -> number
  - this setup is much faster as it allows you to run a
    query, and check on the result later (avoiding the
    immediate glGet that gl.OcclusionQuery() was using)
  - the ready test needs a litte work


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5383 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]