0 Members and 1 Guest are viewing this topic.
sf::Image bgImage; if (!bgImage.LoadFromFile("background.jpg")) { return EXIT_FAILURE; } sf::Sprite Background(bgImage); [... more code ...] App.Draw(Background);
GLint size;glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size);