Commit c03d44ab authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

mac commit1

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57255 954022d7-b5bf-4e40-9824-e11837661b57
parent 927cda86
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
#include <QGLContext> #include <QGLContext>
#include <QThread> #include <QThread>
#ifdef _QTX
#include "GL/glx.h" #include "GL/glx.h"
#endif
class CEditorCtrlWrapper : public CEditorCtrl class CEditorCtrlWrapper : public CEditorCtrl
{ {
...@@ -286,9 +288,11 @@ void CNativeCtrl::paintGL() ...@@ -286,9 +288,11 @@ void CNativeCtrl::paintGL()
DWORD dwTime2 = NSTimers::GetTickCount(); DWORD dwTime2 = NSTimers::GetTickCount();
/*
FILE* file = fopen("/home/oleg/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents/DesktopEditor/log.txt", "a+"); FILE* file = fopen("/home/oleg/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents/DesktopEditor/log.txt", "a+");
fprintf(file, "time: %d\n", (int)(dwTime2 - dwTime1)); fprintf(file, "time: %d\n", (int)(dwTime2 - dwTime1));
fclose(file); fclose(file);
*/
} }
void CNativeCtrl::resizeGL(int width, int height) void CNativeCtrl::resizeGL(int width, int height)
......
...@@ -21,6 +21,8 @@ linux-g++ | linux-g++-64 | linux-g++-32 { ...@@ -21,6 +21,8 @@ linux-g++ | linux-g++-64 | linux-g++-32 {
mac { mac {
DEFINES += \ DEFINES += \
_LINUX \
_LINUX_QT \
_MAC \ _MAC \
QT_MAC QT_MAC
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment