]> git.cworth.org Git - apitrace/commit
glretrace: Fix snapshots on GL 3.2 core contexts (issue #106).
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 23 Jan 2013 16:15:40 +0000 (16:15 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 23 Jan 2013 16:18:10 +0000 (16:18 +0000)
commit72351ecd47e6c68c01c1ee8bbe5085dda9260b10
tree403475681a319c71e60db70da61bf09677879d73
parent624b5ece4ef3fe429f337776937d267f73a1d8fa
glretrace: Fix snapshots on GL 3.2 core contexts (issue #106).

glPush/PopClientAttrib() are not available in core contexts. Simply
save/restore the state via glGet and pack API.
retrace/glstate.cpp
retrace/glstate_internal.hpp