-
The +1 of CreateSurface is an internal thing. There are cases where the allocation succeeds but the use of buffer crashes as soon as we do BeginFrame(). This change fixes this crash. Either we can allocate and it works, either we can't allocate and it won't crash. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
af4f23a8