游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1373|回复: 1

direct 贴图错误?

[复制链接]

4

主题

15

帖子

15

积分

新手上路

Rank: 1

积分
15
发表于 2004-6-9 09:21:00 | 显示全部楼层 |阅读模式
我的源码是:
ddbuf->BltFast( 0 , 0 , ddpla[13], CRect(0,0,640,480) , DDBLTFAST_WAIT);
ddbuf->Blt(CRect(220,165,420,315),ddpla[12],CRect(0,0,640,480),DDBLT_WAIT,NULL);


出现错误提示是:(程序可运行)
BLTFAST error. Can't have non-positive height or width for source rect
Direct3D9: (ERROR) :Invalid BltFast destination dimensions
Direct3D9: (ERROR) :width/height = 640 x 480, dest rect =(640, 146)-(822, 265)

上下不是一一对应的,我也不知道是哪行

4

主题

15

帖子

15

积分

新手上路

Rank: 1

积分
15
 楼主| 发表于 2004-6-10 09:40:00 | 显示全部楼层

Re:direct 贴图错误?

怎么没人回答啊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-7-1 15:47

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表