mirror of https://github.com/odrling/Aegisub
Fix build error introduced in r4250 when not using precompiled headers.
Originally committed to SVN as r4251.
This commit is contained in:
parent
c3a986414c
commit
47beda4c89
|
@ -42,6 +42,7 @@
|
|||
#ifndef AGI_PRE
|
||||
#include <wx/dcmemory.h>
|
||||
#include <wx/image.h>
|
||||
#include <algorithm>
|
||||
#endif
|
||||
|
||||
#include "gl_text.h"
|
||||
|
@ -283,6 +284,7 @@ OpenGLTextGlyph OpenGLText::CreateGlyph(int n) {
|
|||
/// @param h
|
||||
///
|
||||
OpenGLTextTexture::OpenGLTextTexture(int w,int h) {
|
||||
using std::max;
|
||||
// Properties
|
||||
x = y = nextY = 0;
|
||||
width = max(SmallestPowerOf2(w), 64);
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#ifndef AGI_PRE
|
||||
#include <wx/log.h>
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
#endif
|
||||
|
||||
using std::min;
|
||||
|
|
Loading…
Reference in New Issue