I’ve noticed the following:
on startup, I need to create a background texture by creating a texture
with “target” flag, and “renderCopy” an image onto it.
- the window+renderer is created with window flag “hidden”
- the background texture is created
- the window is shown
- the background texture is copied to the renderer
===> it doesn’t work: it does as if the whole background texture is 0
(black and transparent)
idem but there is no “hidden” flag
===> it works as expected
Question: it is intended behaviour or a bug ?