[glutils] Rename CRStringView to StringViewCR

This commit is contained in:
Gary Talent 2024-09-28 16:10:16 -05:00
parent cc10631b55
commit 256be6dae0

View File

@ -73,7 +73,7 @@ void bind(const FrameBuffer &fb) noexcept {
static ox::Result<GLShader> buildShader( static ox::Result<GLShader> buildShader(
GLuint shaderType, GLuint shaderType,
const GLchar *src, const GLchar *src,
ox::CRStringView shaderName) noexcept { ox::StringViewCR shaderName) noexcept {
GLShader shader(glCreateShader(shaderType)); GLShader shader(glCreateShader(shaderType));
glShaderSource(shader, 1, &src, nullptr); glShaderSource(shader, 1, &src, nullptr);
glCompileShader(shader); glCompileShader(shader);