diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-03-18 04:28:35 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-03-18 04:28:35 (GMT) |
commit | b1fe3626c2406e917b6c858c84e45f12368e969a (patch) | |
tree | 8c31f0468c5d29f3cf6ae6b1a0153ed4b14ebd15 /tools/qvfb | |
parent | b72a2bcf8d813ec6b76eb6cc986408c75a1c96bf (diff) | |
download | Qt-b1fe3626c2406e917b6c858c84e45f12368e969a.zip Qt-b1fe3626c2406e917b6c858c84e45f12368e969a.tar.gz Qt-b1fe3626c2406e917b6c858c84e45f12368e969a.tar.bz2 |
Add a raw bind() function to QGLBuffer.
It is awkward for a Qt application to do the equivalent of
glBindBuffer(GL_ARRAY_BUFFER, 0) without knowing the QGLBuffer
that was previously bound, or to bind a raw id obtained elsewhere.
Resolving the extension is annoying.
This change provides a raw low-level version of bind() for directly
resolving and calling glBindBuffer() to assist such applications.
Reviewed-by: Sarah Smith
Diffstat (limited to 'tools/qvfb')
0 files changed, 0 insertions, 0 deletions