Quantcast
Channel: SharpGL
Viewing all articles
Browse latest Browse all 104

New Post: SharpGL FBO and High Res Texture Question

$
0
0
AORD;

Thanks for your reply. I did not know if I needed a version greater than 2.1 or not. I was having a problem and thought that perhaps version 2.1 was limiting the resolution. I thought "older version = less memory = smaller bitmaps." It turns out I was wrong, but I wanted to change one variable in an ocean of unknowns. Even so, I also thought that what does work in version 2.1 should also work in version 3.0 and greater. However, the SharpGL code uses version 2.1 as a default.

When a user requests that SharpGL use a higher version the SharpGL code "attempts" to create a rendering context to the requested version. This "attempt" is within a "Try" and "Catch" block that rolls the rendering context back to version 2.1 "if" there is an exception. The problem with this "attempt" is that it appears to successfully create a rendering context by making calls to Windows and OpenGL and appears to never throw the exception, at least on my computer. However, the context that is created does not seem to make its way back to the control and your screen remains blank.

Respectfully;


Windknot

Viewing all articles
Browse latest Browse all 104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>