devkitPro / opengx

OpenGL-like wrapper for Nintendo Wii/GameCube
20 stars 2 forks source link

debug: allow toggling individual debug features #46

Closed mardy closed 5 months ago

mardy commented 5 months ago

Enabling all debugging messages can potentially produce a lot of output, which makes debugging possibly harder. One is typically interested in debugging a specific feature of OpenGL; enable this by allowing the command line variable to specify on which features debugging must be enabled. For example:

OPENGX_DEBUG=lighthing,texture
davidgfnet commented 5 months ago

Great idea! LGTM!