|
-
September 27th, 2010, 12:59 PM
#14
Re: C++ Unhandled exception error
 Originally Posted by itsmeandnobodyelse
It sounds as if the video controller runs out-of-memory. If so, one of the pointers in the assign statement probably is NULL and that's why an exception was thrown ...
Can you tell where in your code allocations were made? (In calls to OpenGL)
thank you
if I understand properly, you mean the location of the exception?
the debugger points to the line of code where the pixels values are assigned to the array of pointers after reading the buffer with glReadPixels, the pixels values are saved in an array pixels_index_temp and assigned to pixels_index array
pixels_index[global_index] = pixels_index_temp[local_index];
the global array pixels_index is going to be displayed on screen after the whole scanning process
I hope I answered your question
many thanks to you
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|