Commit 63f48d00 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Initialize textureId in platform backing store


Setting it initially to 0 is very important, otherwise we will
do a glDeleteTextures with the undefined value.

The result sometimes goes unnoticed and sometimes causes bizarre
issues: For example in the 'textures' example one face of one cube
out of the six did go blank from time to time since the corresponding
texture was deleted by the backingstore.

Change-Id: Iebf68e20b2af426c979980d8bc4449db2b98f2f0
Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
parent 8e96e73e
No related merge requests found
Showing with 1 addition and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment