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

Updating ofxSpout with latest SDK creates error in example send project #19

Closed
Harvey3141 opened this issue Aug 10, 2016 · 1 comment
Closed

Comments

@Harvey3141
Copy link

Hi,

I'm about to update ofxSpout (https://github.com/elliotwoods/ofxSpout) with the latest spout SDK, after updating the src files in ofxSpout\libs\SpoutSDK\src , the example send project fails to compile with this error,

error C4703: potentially uninitialized local pointer variable 'exc' used

In spoutglextensions.cpp on line 415

Thanks,

Harvey

@leadedge
Copy link
Owner

This is due to a debugging print statement within a function to test at runtime for GL_EXT_bgra extensions. The error is not picked up by VS2012. It has some problems so is not used. The files are updated with that function commented out.

If GL_EXT_bgra extensions are not available, the symptom will be reversal of colours when using "SendImage" and "ReceiveImage". I believe this will be rare and the check can be removed in any case.

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

No branches or pull requests

2 participants