Fix 'Shader Compilation Failed' on Linux #846

Merged
merged 1 commit into from Oct 6, 2012

Conversation

Projects
None yet
3 participants
Contributor

demonixis commented Oct 6, 2012

Hi,

Currently when we launch a game with the latest Linux build of develop3d branch we have a Shader Compilation Failed message and the game doesn't launch.

This pull request fix this problem and MonoGame run now correctly. It's just one line who affect only the Linux build.

I've tested it with my games/experiments (2D/3D) and it work fine

Contributor

dellis1972 commented Oct 6, 2012

Interesting, I will pull this now.

@dellis1972 dellis1972 added a commit that referenced this pull request Oct 6, 2012

@dellis1972 dellis1972 Merge pull request #846 from demonixis/develop3d
Fix 'Shader Compilation Failed' on Linux
4d9514e

@dellis1972 dellis1972 merged commit 4d9514e into MonoGame:develop3d Oct 6, 2012

Contributor

elisee commented Oct 11, 2012

For future reference, this was first reported as #596. At the time, the fix got pulled in but there was no #ifdef LINUX and it was reverted in #749 because it broke the windows build. The #ifdef LINUX should make this one safe I suppose.

Contributor

demonixis commented Oct 11, 2012

Hi,

I've added #if LINUX so it's for Linux build only and it doesn't break other builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment