File tree Expand file tree Collapse file tree
OvCore/src/OvCore/Helpers
OvEditor/src/OvEditor/Panels
OvUI/include/OvUI/Internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ OvUI::Widgets::Visual::Image& OvCore::Helpers::GUIDrawer::DrawTexture(OvUI::Inte
155155 if (auto resource = OVSERVICE (OvCore::ResourceManagement::TextureManager).GetResource (p_receivedData.first ); resource)
156156 {
157157 p_data = resource;
158- widget.textureID .d = resource->id ;
158+ widget.textureID .id = resource->id ;
159159 if (p_updateNotifier)
160160 p_updateNotifier->Invoke ();
161161 }
@@ -169,7 +169,7 @@ OvUI::Widgets::Visual::Image& OvCore::Helpers::GUIDrawer::DrawTexture(OvUI::Inte
169169 resetButton.ClickedEvent += [&widget, &p_data, p_updateNotifier]
170170 {
171171 p_data = nullptr ;
172- widget.textureID .d = (__EMPTY_TEXTURE ? __EMPTY_TEXTURE->id : 0 );
172+ widget.textureID .id = (__EMPTY_TEXTURE ? __EMPTY_TEXTURE->id : 0 );
173173 if (p_updateNotifier)
174174 p_updateNotifier->Invoke ();
175175 };
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ class TexturePreview : public OvUI::Plugins::IPlugin
9393 if (ImGui::IsItemHovered ())
9494 {
9595 if (texture)
96- image.textureID .d = texture->id ;
96+ image.textureID .id = texture->id ;
9797
9898 ImGui::BeginTooltip ();
9999 image.Draw ();
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace OvUI::Internal
1515 */
1616 union TextureID
1717 {
18- uint32_t d ;
18+ uint32_t id ;
1919 void * raw;
2020 };
2121}
You can’t perform that action at this time.
0 commit comments