First post, by thomas001
Hi, i looked a bit into the opengl output of dosbox and made some changes i'd like to post for discussion.
- remove GFX_RGBONLY check from gl output, as opengl can do RGB in 32bit. advantage is opengl output together with scalers like hq3x.
- move texture coordinates half an pixel into the image. this should prevent interpolation with not filled areas in the texture for the right and down edge of the screen (i get strange gray lines at those edges otherwise). top and left edge where moved in because for symmetry.
- remove NV_pixel_data_range support and add ARB_pixel_buffer_object support instead.
- fix opengl extension recognition. simply using strstr() is the wrong way.
Everything works fine on my system, but the patch has not been tested on other systems.
comments are welcome 😀