Skip to content
  • Laszlo Agocs's avatar
    Initialize textureId in platform backing store · 63f48d00
    Laszlo Agocs authored
    
    
    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>
    63f48d00