mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Update legomodelpresenter.cpp (#264)
* Update legomodelpresenter.cpp * Update renderer.cpp
This commit is contained in:
parent
59105d74f8
commit
1a91547011
@ -98,7 +98,7 @@ MxResult LegoModelPresenter::CreateROI(MxDSChunk* p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
memmove(textureName, textureName + 1, strlen(textureName));
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
|
||||
if (g_modelPresenterConfig) {
|
||||
texture = new LegoTexture();
|
||||
|
||||
@ -335,7 +335,8 @@ void OpenGL15Renderer::SubmitDraw(
|
||||
|
||||
if (appearance.flat) {
|
||||
glShadeModel(GL_FLAT);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
glShadeModel(GL_SMOOTH);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user