Skip to content

Commit de5729f

Browse files
committed
disabling alpha
1 parent 9afc263 commit de5729f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RemoteInput/EIOS.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,10 @@ EIOS* SimbaPluginTarget_RequestWithDebugImage(const char* initargs, void** image
436436
std::int32_t width = 0;
437437
std::int32_t height = 0;
438438
eios->control_center->get_target_dimensions(&width, &height);
439-
eios->control_center->set_image_format(ImageFormat::BGRA);
439+
eios->control_center->set_image_format(ImageFormat::BGR_BGRA);
440440
eios->control_center->set_debug_graphics(true);
441441
*image = PLUGIN_SIMBA_METHODS.ExternalImage_Create(true);
442-
PLUGIN_SIMBA_METHODS.ExternalImage_SetMemory(*image, eios->control_center->get_debug_image(), width, height);
442+
PLUGIN_SIMBA_METHODS.ExternalImage_SetMemory(*image, eios->control_center->get_debug_image(), width, height);
443443
}
444444

445445
return eios;
@@ -457,11 +457,11 @@ void SimbaPluginTarget_GetDimensions(EIOS* eios, std::int32_t* width, std::int32
457457

458458
bool SimbaPluginTarget_GetImageData(EIOS* eios, std::int32_t x, std::int32_t y, std::int32_t width, std::int32_t height, void** bgra, std::int32_t* data_width) noexcept
459459
{
460-
if (eios)
460+
if (eios)
461461
{
462462
*data_width = eios->control_center->get_target_width();
463463
*bgra = &eios->control_center->get_image()[(y * (*data_width) + x) * 4];
464-
464+
465465
return true;
466466
} else {
467467
return false;

0 commit comments

Comments
 (0)