1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-24 21:35:21 +02:00

Replace some raw pointers by unique_ptr (#16304)

This commit is contained in:
Lucas OH
2025-08-06 23:17:34 +02:00
committed by GitHub
parent c611a1f9e8
commit ecc876045f
12 changed files with 56 additions and 48 deletions

View File

@@ -4,13 +4,13 @@
// Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru>
#pragma once
#include "stereo.h"
#include "pipeline.h"
class InitInterlacedMaskStep : public TrivialRenderStep
{
public:
InitInterlacedMaskStep(TextureBuffer *buffer, u8 index);
void run(PipelineContext &context);
void run(PipelineContext &context) override;
private:
TextureBuffer *buffer;
video::ITexture *last_mask { nullptr };