dwmkerr / dwmkerr/sharpgl

refactor: Remove automated error checking in debug mode

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
enhancement Good First Issue
Dominant language
C#
Stars
804
Forks
294
Avg merge
3d 23h
Merged PRs (30d)
1

Description

Originally noted in PR #177.

We currently have _conditional_ code to check for errors after OpenGL function calls in debug mode. This is a sloppy anti-pattern. Really, checking for errors should be a consumer responsibility; the core wrapper library should not be adding logic - particularly logic which only works in Debug mode.

This code should just be removed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.