Archived

This topic is now archived and is closed to further replies.

jonbell

Debug / Release

Recommended Posts

Actually i just figured it out but now under a release build i get a load of linker errors looking for the opengl lib''s. How come when it compiles fine for a debug build?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Build / Set active configuration

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by jonbell
How come when it compiles fine for a debug build?

Forgot to att the opengl lib''s to the Release configuration?

Share this post


Link to post
Share on other sites
Yes that was it.

Now i have it working i see that my frame rate is exactly the same using a release build as a debug build. This leads me to think that in the context of graphics there is not much the programmer can do to speed up the rendering process except for good object culling. Over 95% of my programs execution time is in the OpenGL funtions which are already optimised and are out of my control anyway.

Share this post


Link to post
Share on other sites
you need to optimize at algorithm level, which means basically finding faster algorithms to do the tasks you''re currently doing. if you''re using glvertex and glcolor calls, no optimizations are going to help you.

Share this post


Link to post
Share on other sites