Hello,

I have a very basic problem with my Touchpad. I just wrote up a very simple OpenGL test program and it keeps crashing on my Touchpad. On my Pre1 (1.4.5) everything works fine.

Code:
#include <cstdlib>
#include <cstdio>
#include <iostream>

#include <SDL.h>
#include <PDL.h>

#include <GLES/gl.h>
#include <GLES2/gl2.h>

SDL_Surface *surface;

int main(int argc, char **argv) {
	// Initialize the SDL library with the Video subsystem
	SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);
	atexit(SDL_Quit);

	// start the PDL library
	PDL_Init(0);
	atexit(PDL_Quit);

	// Tell it to use OpenGL version 2.0
	SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
	SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);

	// Set the video mode to full screen with OpenGL-ES support
	// use zero for width/height to use maximum resolution
	surface = SDL_SetVideoMode(0, 0, 0, SDL_OPENGL);

	std::cout << "init stuff" << std::endl;
	glClearColor(0,0,1,0);
	glViewport(0, 0, surface->w, surface->h);
	glMatrixMode(GL_PROJECTION);
	glLoadIdentity();
	glOrthox(0, surface->w, surface->h, 0, -1, 1);
	glViewport( 0, 0, surface->w, surface->h );
	std::cout << "init stuff done." << std::endl;

	return 0;
}
The Touchpad crashes in the call to glOrthox. Anyone got a pointer to why?

Additionally I don't get any core dumps. Where can I activate those? the minicores directory is empty.

Thanks
Walmar