I usually skip GlTexFromPixmap() and write my own direct OpenGL code to set up and upload texture date. You have more control of it that way. But if you just want it `as is` and don't care about the texture size or format etc then the helper function is ok.