VideoSW: Use OpenGL Core context

This commit is contained in:
degasus
2015-10-09 09:25:09 +02:00
parent 61c3a0d9e4
commit b69bff0690
4 changed files with 52 additions and 60 deletions

View File

@ -4,6 +4,8 @@
#pragma once
#include <string>
#include "Common/GL/GLExtensions/GLExtensions.h"
#ifndef _WIN32
@ -14,7 +16,7 @@
void InitInterface();
// Helpers
GLuint OpenGL_CompileProgram(const char *vertexShader, const char *fragmentShader);
GLuint OpenGL_CompileProgram(const std::string& vertexShader, const std::string& fragmentShader);
// Creates and deletes a VAO and VBO suitable for attributeless rendering.
// Called by the Renderer.