dolphin/Source/Core/Common/GL/GLUtil.h

18 lines
401 B
C
Raw Normal View History

// Copyright 2008 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
2015-10-09 09:25:09 +02:00
#include <string>
#include "Common/GL/GLExtensions/GLExtensions.h"
class GLContext;
namespace GLUtil
{
GLuint CompileProgram(const std::string& vertexShader, const std::string& fragmentShader);
void EnablePrimitiveRestart(const GLContext* context);
} // namespace GLUtil