Main Site Documentation

Fez Touch Screen Draw Image Error


#1

Hi there,

I converted my image with FEZ Touch Image Converter and added as a Resource in my project. But when i want to draw it i get this error and Image send as null object to DrawImage function.

public void DrawImage(int x, int y, Image image)

An unhandled exception of type ‘System.NullReferenceException’ occurred in FEZ Touch Example.exe

How can i solve this issue? Thanks.


#2

Generally this means that the resource was not found.