Skip to content

Learn Opengl Getting Started Hello Triangle Issue #174

Description

@jackmay942149

Noticed that the getting started hello triangle example has an issue when getting run in Renderdoc that is flagging a warning "General Error". Have identified it is because the program is checking the link status of the fragment shader instead of the shader program in the following lines of code :

gl.GetProgramiv(fragmentShader, gl.LINK_STATUS, &success)
	
if success != 1 {
	gl.GetProgramInfoLog(fragmentShader, 512, nil, raw_data(&infoLog))
	os.exit(-1)
}

Happy to fix just not sure what the contributing process is for such a small issue.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions