Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove non existent parameter #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
// return reinterpret_cast<function>(this->vtable[6])(this, deltaTime);
//}
//
//void MinecraftUIRenderContext::drawImage(const mce::TexturePtr& texture, const glm::tvec2<float>* position, const glm::tvec2<float>* size, glm::tvec2<float>* uv, glm::tvec2<float>* uvSize, int degree)
//void MinecraftUIRenderContext::drawImage(const mce::TexturePtr& texture, const glm::tvec2<float>* position, const glm::tvec2<float>* size, glm::tvec2<float>* uv, glm::tvec2<float>* uvSize)
//{
// using function = void(__thiscall*)(MinecraftUIRenderContext*, const mce::TexturePtr&, const glm::tvec2<float>*, const glm::tvec2<float>*, glm::tvec2<float>*, glm::tvec2<float>*, int);
// return reinterpret_cast<function>(this->vtable[7])(this, texture, position, size, uv, uvSize, degree);
// using function = void(__thiscall*)(MinecraftUIRenderContext*, const mce::TexturePtr&, const glm::tvec2<float>*, const glm::tvec2<float>*, glm::tvec2<float>*, glm::tvec2<float>*);
// return reinterpret_cast<function>(this->vtable[7])(this, texture, position, size, uv, uvSize);
//}
//
//void MinecraftUIRenderContext::drawNineslice(const mce::TexturePtr* texture, const NinesliceInfo* nineslice) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class MinecraftUIRenderContext {
virtual void drawDebugText(const RectangleArea* rect, const std::string* text, const mce::Color* color, float alpha, ui::TextAlignment alignment, const TextMeasureData* textData, const CaretMeasureData* caretData);
virtual void drawText(Font& font, const RectangleArea& rect, const std::string& text, const mce::Color& color, float alpha, ui::TextAlignment alignment, const TextMeasureData& textData, const CaretMeasureData& caretData);
virtual void flushText(float deltaTime);
virtual void drawImage(const mce::TexturePtr& texture, const glm::tvec2<float>* position, const glm::tvec2<float>* size, glm::tvec2<float>* uv, glm::tvec2<float>* uvSize, int degree);
virtual void drawImage(const mce::TexturePtr& texture, const glm::tvec2<float>* position, const glm::tvec2<float>* size, glm::tvec2<float>* uv, glm::tvec2<float>* uvSize);
virtual void drawNineslice(const mce::TexturePtr* texture, const NinesliceInfo* nineslice);
virtual void flushImages(const mce::Color& color, float alpha, const HashedString& materialNameHash);
virtual void beginSharedMeshBatch(ComponentRenderBatch& renderBatch);
Expand Down