http://bugs.winehq.org/show_bug.cgi?id=34847
--- Comment #8 from tomas191191@gmail.com --- (In reply to Bruno Jesus from comment #4)
Created attachment 48828 [details] patch
This bug seems similar to bug 36506, does the attached patch help?
I applied your patch, but the same error occurred in glDeleteTextures. I copied your changes to that function, and now the game appears to work flawlessly. I've been playing it for around 20 minutes. The patch is attached ("patch 2").
To summarize, Wine 1.7.20 32-bit with "patch 2" applied can play The Swapper flawlessly, assuming you use winetricks to install dotnet40 before installing The Swapper.