remove debug print from helping something with graphics issues
parent
f36ccc4866
commit
36e09cdbe1
|
|
@ -23,7 +23,6 @@ pub inline fn create(typ: c.GLenum) errors.Error!Shader {
|
||||||
|
|
||||||
/// Set the source and compile a shader.
|
/// Set the source and compile a shader.
|
||||||
pub inline fn setSourceAndCompile(s: Shader, source: [:0]const u8) !void {
|
pub inline fn setSourceAndCompile(s: Shader, source: [:0]const u8) !void {
|
||||||
log.info("shader source:{s}", .{source});
|
|
||||||
glad.context.ShaderSource.?(s.id, 1, &@as([*c]const u8, @ptrCast(source)), null);
|
glad.context.ShaderSource.?(s.id, 1, &@as([*c]const u8, @ptrCast(source)), null);
|
||||||
glad.context.CompileShader.?(s.id);
|
glad.context.CompileShader.?(s.id);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue