handmade/include/lib_GL_common.h
Bubblegumdrop 46b2ed80ae Initial commit.
Another nuke! This time, trying to do a client <-> server thing.

Also a bit of messing with Lua.
2022-01-02 19:28:16 -05:00

15 lines
391 B
C++

#pragma once
#include <string>
#include <GL/glew.h>
#include <SDL_video.h>
void common_GL_Init (SDL_Window*, SDL_GLContext*, int);
void common_GL_TexParameters (const GLenum, const GLenum, const GLenum, const GLenum, const GLenum);
GLuint common_GL_SurfaceFormat (SDL_Surface*);
GLuint common_GL_LoadTextureSurface (SDL_Surface*);
GLuint common_GL_LoadTexturePath (const std::string&);