20 lines
288 B
C++
20 lines
288 B
C++
|
|
#include "shader_program.hpp"
|
|
|
|
|
|
namespace hpr::gpu
|
|
{
|
|
|
|
ShaderProgram::ShaderProgram() :
|
|
Context {DeviceAPI::Unknown},
|
|
p_isLinked {false}
|
|
{}
|
|
|
|
ShaderProgram::ShaderProgram(DeviceAPI api) :
|
|
Context {api},
|
|
p_isLinked {false}
|
|
{}
|
|
|
|
ShaderProgram::~ShaderProgram() = default;
|
|
|
|
} |