Просмотр исходного кода

hle: nvflinger: graphic_buffer_producer: Remove unnecessary pragma pack.

bunnei 4 лет назад
Родитель
Сommit
480c79edba
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/core/hle/service/nvflinger/graphic_buffer_producer.h

+ 0 - 2
src/core/hle/service/nvflinger/graphic_buffer_producer.h

@@ -48,7 +48,6 @@ private:
 #pragma pack(pop)
 #pragma pack(pop)
 static_assert(sizeof(QueueBufferInput) == 84, "QueueBufferInput has wrong size");
 static_assert(sizeof(QueueBufferInput) == 84, "QueueBufferInput has wrong size");
 
 
-#pragma pack(push, 1)
 struct QueueBufferOutput final {
 struct QueueBufferOutput final {
     QueueBufferOutput();
     QueueBufferOutput();
 
 
@@ -72,7 +71,6 @@ private:
     u32 transform_hint{};
     u32 transform_hint{};
     u32 num_pending_buffers{};
     u32 num_pending_buffers{};
 };
 };
-#pragma pack(pop)
 static_assert(sizeof(QueueBufferOutput) == 16, "QueueBufferOutput has wrong size");
 static_assert(sizeof(QueueBufferOutput) == 16, "QueueBufferOutput has wrong size");
 
 
 } // namespace Service::android
 } // namespace Service::android