
Enviado em 08/10/2021 - 12:46h
Olá pessoal,
#ifndef _TEXTURATOR_
#define _TEXTURATOR_
#include <iostream>
#include <GL/gl.h>
#include <SOIL/SOIL.h>
class TextureManager
{
public:
static GLuint LoadTexture(const char* imagePath)
{
GLuint texture{SOIL_load_OGL_texture(imagePath, SOIL_LOAD_AUTO, SOIL_CREATE_NEW_ID ,SOIL_FLAG_INVERT_Y)};
if (texture == 0)
std::cout << "\nERROR: Image corrupted/not found!\n";
return texture;
}
};
#endif
Jogando Daikatana (Steam) com Patch 1.3 via Luxtorpeda no Linux
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Instalando COSMIC no Linux Mint
Turbinando o Linux Mint: o poder das Nemo Actions
Inteligência Artificial no desenvolvimento de software: quando começar a usar?
O widget do Plasma 6 Área de Notificação
[Resolvido] Algo deu errado ao abrir seu perfil
Problemas com o "startx&... no Slackware (6)
Atalho no Linux Mint não aparece menu de troca de monitores (0)









