Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log any errors from mojoshader after calling MOJOSHADER_parseEffect. #25

Closed
wants to merge 1 commit into from
Closed

Log any errors from mojoshader after calling MOJOSHADER_parseEffect. #25

wants to merge 1 commit into from

Conversation

jeffphilp
Copy link

After discussion in #24 this pull request checks the error state after calling parseEffect and logs it out.

@flibitijibibo
Copy link
Member

Cool, thanks for looking into this. I merged this manually with the following changes:

  • Changed Win32 line endings to Unix line endings
  • Loop to go through all the errors stored in the effect
  • Use pointers instead of PtrToStructure

Commit: 45abca0

@jeffphilp jeffphilp deleted the mojoshader_error_logging branch May 6, 2016 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants