[SOLVED] GLXBadContextTag error when trying to play Running With Rifles

While Running with Rifles runs natively on Linux, when I try to run it, the window only appears for less than a second before the process ends. When I attempted to run “rwr_config” through the console, it printed this error:

X Error of failed request:  GLXBadContextTag
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  44
  Current serial number in output stream:  45

What can I do to fix this issue?
Discovered the solution - I had to make sure my nvidia driver matched my lib32-nvidia-utils package:
https://wiki.archlinux.org/title/Steam/Troubleshooting#Steam:_An_X_Error_occurred