update sdl and sdl_image again (contains v4l2 fix)
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Failing after 5m17s
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Failing after 6m37s
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Failing after 6m47s
ContinuousIntegration / linux (push) Successful in 4m28s
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Failing after 6m17s
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Failing after 6m28s
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled

This commit is contained in:
2024-09-19 14:01:47 +02:00
parent 6af0ddc3ec
commit 557a642ad3
5 changed files with 14 additions and 12 deletions

View File

@ -56,7 +56,7 @@ bool SDLRendererTextureUploader::updateRGBA(uint64_t tex_id, const uint8_t* data
uint8_t* pixels = nullptr;
int pitch = 0;
if (SDL_LockTexture(texture, nullptr, (void**)&pixels, &pitch) != 0) {
if (!SDL_LockTexture(texture, nullptr, (void**)&pixels, &pitch)) {
std::cerr << "SDLRTU error: failed locking texture '" << SDL_GetError() << "'\n";
return false;
}