nanogui: small nano-X client problem


Previous by date: 27 Nov 2000 20:51:12 -0000 Re: PNG support in Nano-X, Jordan Crouse
Next by date: 27 Nov 2000 20:51:12 -0000 Re: small nano-X client problem, Greg Haerr
Previous in thread:
Next in thread: 27 Nov 2000 20:51:12 -0000 Re: small nano-X client problem, Greg Haerr

Subject: small nano-X client problem
From: Eric Jacobs ####@####.####
Date: 27 Nov 2000 20:51:12 -0000
Message-Id: <200011272054.OAA15940@rgate3.ricochet.net>


fl_clip_box in flnx wasn't working correctly because
GrGetRegionBox always returned garbage... (This is
against 0.89pre6)


*** client.c~	Sat Nov  4 21:27:57 2000
--- client.c	Sun Nov 26 22:54:16 2000
***************
*** 1039,1051 ****
  {
  	nxGetRegionBoxReq *req;
  	unsigned short	   ret_value;
- 	GR_RECT		   ret_rect;
  	
  	if (!rect)
  		return GR_FALSE;
  	req = AllocReq(GetRegionBox);
  	req->regionid = region;
!  	if(GrTypedReadBlock(&ret_rect, sizeof(ret_rect),
  		GrNumGetRegionBox) == -1)
  		return GR_FALSE;
   	if(GrTypedReadBlock(&ret_value, sizeof(ret_value),
--- 1039,1050 ----
  {
  	nxGetRegionBoxReq *req;
  	unsigned short	   ret_value;
  	
  	if (!rect)
  		return GR_FALSE;
  	req = AllocReq(GetRegionBox);
  	req->regionid = region;
!  	if(GrTypedReadBlock(rect, sizeof(*rect),
  		GrNumGetRegionBox) == -1)
  		return GR_FALSE;
   	if(GrTypedReadBlock(&ret_value, sizeof(ret_value),


Previous by date: 27 Nov 2000 20:51:12 -0000 Re: PNG support in Nano-X, Jordan Crouse
Next by date: 27 Nov 2000 20:51:12 -0000 Re: small nano-X client problem, Greg Haerr
Previous in thread:
Next in thread: 27 Nov 2000 20:51:12 -0000 Re: small nano-X client problem, Greg Haerr


Powered by ezmlm-browse 0.20.