mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 13:05:45 -04:00
GPU/OpenGL: Set GLSL version string dynamically
Rather than hardcoding to 3.3.
This commit is contained in:
@ -29,7 +29,10 @@ public:
|
||||
bool m_glsl_es;
|
||||
bool m_supports_dual_source_blend;
|
||||
|
||||
std::string m_glsl_version_string;
|
||||
|
||||
private:
|
||||
void SetGLSLVersionString();
|
||||
void WriteHeader(std::stringstream& ss);
|
||||
void DeclareUniformBuffer(std::stringstream& ss, const std::initializer_list<const char*>& members);
|
||||
void DeclareTexture(std::stringstream& ss, const char* name, u32 index);
|
||||
|
Reference in New Issue
Block a user