removed glInvalidateTex