mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-15 20:37:42 +01:00
fix some warnings
This commit is contained in:
parent
0c87717ffc
commit
8956bd54a9
9 changed files with 27 additions and 16 deletions
|
|
@ -172,7 +172,7 @@ internal unsafe partial class ImageNodeTree : ResNodeTree
|
|||
var cursorScreenPos = ImGui.GetCursorScreenPos();
|
||||
var cursorLocalPos = ImGui.GetCursorPos();
|
||||
|
||||
ImGui.Image(new(this.TexData.Texture->D3D11ShaderResourceView), new(this.TexData.Texture->Width, this.TexData.Texture->Height));
|
||||
ImGui.Image(new(this.TexData.Texture->D3D11ShaderResourceView), new(this.TexData.Texture->ActualWidth, this.TexData.Texture->ActualHeight));
|
||||
|
||||
for (uint p = 0; p < this.TexData.PartsList->PartCount; p++)
|
||||
{
|
||||
|
|
@ -197,8 +197,8 @@ internal unsafe partial class ImageNodeTree : ResNodeTree
|
|||
|
||||
ImGui.TableHeadersRow();
|
||||
|
||||
var tWidth = this.TexData.Texture->Width;
|
||||
var tHeight = this.TexData.Texture->Height;
|
||||
var tWidth = this.TexData.Texture->ActualWidth;
|
||||
var tHeight = this.TexData.Texture->ActualHeight;
|
||||
var textureSize = new Vector2(tWidth, tHeight);
|
||||
|
||||
for (ushort i = 0; i < this.TexData.PartCount; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue