Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/LmrModel.cpp b/src/LmrModel.cpp
- index b498126..460caed 100644
- --- a/src/LmrModel.cpp
- +++ b/src/LmrModel.cpp
- @@ -366,6 +366,7 @@ public:
- op.elems.texture->BindTexture();
- if (op.elems.glowmap != 0) {
- glActiveTexture(GL_TEXTURE1);
- + glEnable(GL_TEXTURE_2D);
- op.elems.glowmap->BindTexture();
- }
- } else {
- @@ -388,6 +389,10 @@ public:
- if ( op.elems.texture != 0 ) {
- glActiveTexture(GL_TEXTURE0);
- glDisable(GL_TEXTURE_2D);
- + if (op.elems.glowmap != 0) {
- + glActiveTexture(GL_TEXTURE1);
- + glDisable(GL_TEXTURE_2D);
- + }
- }
- break;
- case OP_DRAW_BILLBOARDS:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement