2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 23:29:41 -04:00
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2015-10-09 09:25:09 +02:00
|
|
|
#include <string>
|
|
|
|
|
2015-09-19 04:40:00 +12:00
|
|
|
#include "Common/GL/GLExtensions/GLExtensions.h"
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2018-10-03 23:03:26 +10:00
|
|
|
class GLContext;
|
|
|
|
|
2018-03-10 14:52:48 +10:00
|
|
|
namespace GLUtil
|
|
|
|
{
|
|
|
|
GLuint CompileProgram(const std::string& vertexShader, const std::string& fragmentShader);
|
2018-10-03 23:03:26 +10:00
|
|
|
void EnablePrimitiveRestart(const GLContext* context);
|
2018-10-03 23:02:45 +10:00
|
|
|
} // namespace GLUtil
|