Original Post
Hi all, I have this simple render loop, the problem is that it will only render when using the debug version of the managed directx libraries. public void Render() { Point pointLocation = new Point(0, 0); int intOffset = 0; for(int j=0; j<10; j++) { // Loop through each row, starting a loop to draw the tiles of that row, starting top, ending bottom. pointLocation.Y = j * 9; // Isometric tiles are staggered, so, should we stagger? if ((j % 2) == 0) { intOffset = 16; } else { intOffset = 0; } for(int i=0; i<10; i++) { // Loop through each X tile, drawing a row starting from left, ending right. pointLocation.X = (i * 32) + intOffset; SpriteManager.Instance.Sprite.Draw2D(textureMapTile, Rectangle.Empty, new Rectangle(0, 0, 32, 32), pointLocation, Color.White.ToArgb()); } } } What makes it even more bizarre is that if I comment out the intOffset check (the part where I use the % operator) it works fine in the release version... Any ideas? Thanks in advance,