
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
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Modo Simples de Baixar e Usar o bash-completion
Monitorando o Preço do Bitcoin ou sua Cripto Favorita em Tempo Real com um Widget Flutuante
Como quebrar senha usando john the ripper
[Resolvido] VirtualBox can't enable the AMD-V extension
Como verificar a saúde dos discos no Linux
Como instalar , particionar, formatar e montar um HD adicional no Linux?
Por que passar nas disciplinas da faculdade é ruim e ser reprovado é b... (0)
Alguém já testou o novo COSMIC Desktop? O que achou? (1)
Não consigo instalar distro antiga no virtualbox nem direto no hd (15)









