Browse Source

Fix compilation of Shader on MinGW32.

Broken during renaming in 5f51652aff.
pull/51/head
Vladimír Vondruš 13 years ago
parent
commit
c9103b8947
  1. 2
      src/Shader.cpp

2
src/Shader.cpp

@ -592,7 +592,7 @@ Shader& Shader::addSource(std::string source) {
if(!source.empty()) {
#if defined(CORRADE_TARGET_NACL_NEWLIB) || defined(__MINGW32__)
std::ostringstream converter;
converter << (sources.size()+1)/2;
converter << (_sources.size()+1)/2;
#endif
/* Fix line numbers, so line 41 of third added file is marked as 3(41).

Loading…
Cancel
Save