Groogy/SFML — comment on commit 18e937f5b08c3f25e3bbf87f2798dd6e4045ac09
File:  line 0
By LaurentGomila:

You don't need the "format" and "type" arguments when you create the texture, they specify the nature of the pixel data that you upload -- which is NULL here, we don't upload anything when we create the texture. Only the internalFormat is useful there.

Format and type shuold rather be passed to the Update function, if you also support different input pixel formats.