commit | 0acb31be171f01aec8b38ceaddf47b7da6dae2a0 | [log] [tgz] |
---|---|---|
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | Wed Feb 09 20:42:50 2011 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Feb 10 23:07:01 2011 -0500 |
tree | f477f5e686c8ac99a94fbf338ccc698f7f29f531 | |
parent | c79a5a706727c40a856e36c043da608c825390a2 [diff] |
st/dri: Fix surfaceless gl using contexts with previous bound surfaces ctx->dPriv might be != NULL then draw which is NULL is accessed: struct dri_drawable *draw = dri_drawable(driDrawPriv); [..] if (ctx->dPriv != driDrawPriv) { ctx->dPriv = driDrawPriv; draw->texture_stamp = driDrawPriv->lastStamp - 1; }