Showing results for 
Search instead for 
Did you mean: 

Cannot upload wide texture

This bug could be the same as this one or similar.

Same bug?

System Setup Information:


System Used: Lenovo Y700-15ISK
CPU SKU: i7-6700HQ
GPU SKU: HD Graphics 530
Processor Line: (Y-Series, U-Series, etc.)
System BIOS Version: n.n.
CMOS settings: n.n.
Graphics Driver Version:
GOP/VBIOS Version:
Operating System: Windows 10
OS Version: 1709 (Build: 16299.967)
API: OpenGL 4.3
Occurs on non-Intel GPUs?: no

Steps to Reproduce:
1. Load a wide Bitmap (5460+ pixel) on Windows. (in BGR format)
2. Load it to an OpenGL texture

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_BGR, GL_UNSIGNED_BYTE, buffer);

Expected Results:

Texture will be shown correct like on Nvidia GPU. (WhatExpect.png)

Actual Results:

Texture is black. (5462px.png)

Additional Information:

- Texture will be shown if I change the format in the glTexImage2D call to GL_RGB, but the red and blue channel is switched (GL_RGB.png)

- no Problem by texture wide <=5460 pixel (5460px.png), Problem begin at 5461pixel (5461px.png)

- my Texture has the size 8192x4096, the texture will correctly loaded if it has the format 4096x8192 (portraitTexture.png)


0 Kudos
0 Replies