OSDN Git Service

st/egl: Wrong context might be used in eglBindTexImage.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 2 Feb 2010 03:22:51 +0000 (11:22 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 2 Feb 2010 03:35:11 +0000 (11:35 +0800)
commit01dcadab8b98f0ffa5bf0a859ca94ff78a8cb90a
treef3b5d0932712522b2816a5277b012ff50a4fe475
parent7fc35811c4157a3a1db1325451c4f902acbaa303
st/egl: Wrong context might be used in eglBindTexImage.

If the pbuffer surface is current, gctx is set to the current context.
Make sure it is set to OpenGL ES 1 context again before binding.
src/gallium/state_trackers/egl/common/egl_g3d.c