Gtk: OpenGL: Fix non-PBO output path.
This commit is contained in:
parent
da4bd2a018
commit
cf2d1bf791
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -13,3 +13,6 @@
|
||||
[submodule "shaders/glslang"]
|
||||
path = shaders/glslang
|
||||
url = https://github.com/KhronosGroup/glslang.git
|
||||
[submodule "vulkan/vulkan"]
|
||||
path = vulkan/vulkan
|
||||
url = https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
|
@ -174,7 +174,7 @@ void S9xOpenGLDisplayDriver::update(uint16_t *buffer, int width, int height, int
|
||||
}
|
||||
else
|
||||
{
|
||||
glPixelStorei(GL_UNPACK_ROW_LENGTH, stride_in_pixels * 2);
|
||||
glPixelStorei(GL_UNPACK_ROW_LENGTH, stride_in_pixels);
|
||||
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, buffer);
|
||||
}
|
||||
|
||||
|
1
vulkan/vulkan
Submodule
1
vulkan/vulkan
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 89d366355e6fe1221c9be40bb2cf3716449e9a7e
|
Loading…
Reference in New Issue
Block a user