mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 17:10:55 +00:00
faster compile-time for gdi backend
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@104 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -13,9 +13,7 @@
|
|||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#ifdef _WIN32
|
#ifndef _WIN32
|
||||||
#include <windows.h>
|
|
||||||
#else
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ int main(int argc, char** argv) {
|
|||||||
FT_Bitmap_Convert(lib, &face->glyph->bitmap, &bitmap, 1);
|
FT_Bitmap_Convert(lib, &face->glyph->bitmap, &bitmap, 1);
|
||||||
|
|
||||||
printf("\t{%d, %d, {", face->glyph->bitmap_left, face->glyph->bitmap_top);
|
printf("\t{%d, %d, {", face->glyph->bitmap_left, face->glyph->bitmap_top);
|
||||||
for(y = 0; y < atoi(argv[2]) - bitmap.rows; y++){
|
for(y = 0; y < atoi(argv[2]) - bitmap.rows; y++) {
|
||||||
printf("0%s", y == atoi(argv[2]) - 1 ? "" : ", ");
|
printf("0%s", y == atoi(argv[2]) - 1 ? "" : ", ");
|
||||||
}
|
}
|
||||||
for(y = 0; y < bitmap.rows; y++) {
|
for(y = 0; y < bitmap.rows; y++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user