SDL纹理数组?

时间:2016-04-10 01:56:43

标签: c++ arrays sdl

我是sdl的新手。我正在制作二十一点游戏。我想制作一组纹理。我想知道是否有人能够帮助我。这是我一直在努力做的事情:

private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors();
private static final int CORE_POOL_SIZE = CPU_COUNT + 1;
private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
private static final int KEEP_ALIVE = 1;

/**
 * An {@link Executor} that can be used to execute tasks in parallel.
 */
public static final Executor THREAD_POOL_EXECUTOR
        = new ThreadPoolExecutor(CORE_POOL_SIZE, MAXIMUM_POOL_SIZE, KEEP_ALIVE,
                TimeUnit.SECONDS, sPoolWorkQueue, sThreadFactory);

我收到此错误,我在上面的代码中指出(我的文件名为introSDL.exe btw):

introSDL.exe中0x6C78CE9A(SDL2.dll)的未处理异常:0xC0000005:访问冲突读取位置0x00000050。

0 个答案:

没有答案