Skip to content

Commit 218c1d6

Browse files
authored
Fixed blank screen on startup (#747)
1 parent a2bb45b commit 218c1d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/OvRendering/src/OvRendering/HAL/OpenGL/GLTexture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ void OvRendering::HAL::GLTexture::Upload(const void* p_data, Settings::EFormat p
143143
0,
144144
0,
145145
0,
146-
0,
146+
i,
147147
m_textureContext.desc.width,
148148
m_textureContext.desc.height,
149-
i,
149+
1,
150150
EnumToValue<GLenum>(p_format),
151151
EnumToValue<GLenum>(p_type),
152152
p_data

0 commit comments

Comments
 (0)