mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
242045f662
Backend.queryState sets GL_ACTIVE_TEXTURE to access texture bindings; this change makes sure GL_ACTIVE_TEXTURE is restored. Also, make sure GL state changes made in Backend.restoreState is reflected in Backend.glstate. Backend.glstate is not used after restoreState, so this is just for clarity. This is an alternative to https://github.com/gioui/gio/pull/77. Signed-off-by: Elias Naur <mail@eliasnaur.com>