mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-30 03:32:43 +00:00
Remove unnecessary reference
This commit is contained in:
parent
045d4b81a4
commit
7da33f7951
@ -101,8 +101,6 @@ namespace platf::dxgi {
|
||||
blob_t scene_NW_ps_hlsl;
|
||||
|
||||
struct img_d3d_t: public platf::img_t {
|
||||
std::shared_ptr<platf::display_t> display;
|
||||
|
||||
// These objects are owned by the display_t's ID3D11Device
|
||||
texture2d_t capture_texture;
|
||||
render_target_t capture_rt;
|
||||
@ -1321,7 +1319,6 @@ namespace platf::dxgi {
|
||||
// Initialize format-independent fields
|
||||
img->width = width;
|
||||
img->height = height;
|
||||
img->display = shared_from_this();
|
||||
img->id = next_image_id++;
|
||||
|
||||
return img;
|
||||
|
Loading…
x
Reference in New Issue
Block a user