OpenGL2: Detect Intel graphics and avoid/use certain operations there.
Also use qglCopyTextureSubImage2DEXT instead of qglCopyTextureImage2DEXT.
This commit is contained in:
parent
730207817e
commit
0672905ef1
9 changed files with 22 additions and 13 deletions
|
@ -2761,7 +2761,7 @@ void R_CreateBuiltinImages( void ) {
|
|||
height = glConfig.vidHeight;
|
||||
|
||||
hdrFormat = GL_RGBA8;
|
||||
if (r_hdr->integer && glRefConfig.framebufferObject && glRefConfig.textureFloat)
|
||||
if (r_hdr->integer && glRefConfig.textureFloat)
|
||||
hdrFormat = GL_RGBA16F_ARB;
|
||||
|
||||
rgbFormat = GL_RGBA8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue