Commit 8a4758a3 authored by Committed by Eric Anholt
Need to check pixmap priv before touch its field.
As now the pixmap may be allocated by DDX and doesn't have a valid pixmap private field. We must check pixmap private pointer before touch its field value. If a pixmap doesn't have a non-NULL private pointer, it doesn't have a valid FBO. Signed-off-by: Zhigang Gong <email@example.com>
Showing with 1 addition and 1 deletion