From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA15116; Sat, 29 Nov 2003 18:37:40 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA15345 for ; Sat, 29 Nov 2003 18:37:39 +0100 (MET) Received: from queue2-svc.ntlworld.com (queue2-win.server.ntlworld.com [62.253.162.222]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hATHbP129333 for ; Sat, 29 Nov 2003 18:37:30 +0100 (MET) Received: from ntlworld.com ([80.4.69.150]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031129003605.WKKI2588.mta07-svc.ntlworld.com@ntlworld.com> for ; Sat, 29 Nov 2003 00:36:05 +0000 Message-ID: <3FC7EA09.5000105@ntlworld.com> Date: Sat, 29 Nov 2003 00:36:25 +0000 From: "chris.danx" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Caml Mailing List Subject: Re: [Caml-list] Different function on Image format (uses camlImages) References: <3FC68846.7020804@ntlworld.com> <3FC68ED8.1000708@ntlworld.com> In-Reply-To: <3FC68ED8.1000708@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ntlworld:99 caml-list:01 camlimages:01 sortof:01 textures:01 passing:01 compiler:01 chris:01 chris:01 functions:05 it'll:05 uses:06 type:07 problem:07 problem:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi I've sortof resolved the original problem by a) being awake, b) realising what the compiler was actually saying and c) simplifying the code to always convert to rgba32 and hence all textures will be in that format. I am still unsure how to handle the general problem of determining the type of class and passing to specific functions but it'll keep! Regards, Chris ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners