Skip to content

wgl: Initialize DEVMODE struct

Jesse Natalie requested to merge jenatali/mesa:wgl-uninit-eds into main

Otherwise the dmDriverExtra field might be uninitialized and have a nonzero value, which can cause the API implementation to smash the stack when copying to the output struct.

Cc: mesa-stable

Merge request reports